diff --git a/src/NLog.PerformanceCounter/NLog.PerformanceCounter.csproj b/src/NLog.PerformanceCounter/NLog.PerformanceCounter.csproj
index 8454fe2..6cd90c4 100644
--- a/src/NLog.PerformanceCounter/NLog.PerformanceCounter.csproj
+++ b/src/NLog.PerformanceCounter/NLog.PerformanceCounter.csproj
@@ -52,7 +52,6 @@
NLog.PerformanceCounter for NetStandard 2.0
- $(DefineConstants);NETSTANDARD
@@ -61,7 +60,7 @@
-
+
diff --git a/tests/NLog.PerformanceCounter.Tests/NLog.PerformanceCounter.Tests.csproj b/tests/NLog.PerformanceCounter.Tests/NLog.PerformanceCounter.Tests.csproj
index 805bd6c..4237cd9 100644
--- a/tests/NLog.PerformanceCounter.Tests/NLog.PerformanceCounter.Tests.csproj
+++ b/tests/NLog.PerformanceCounter.Tests/NLog.PerformanceCounter.Tests.csproj
@@ -1,7 +1,7 @@
- net461;net10.0
+ net462;net10.0
false
../NLogTests.snk
@@ -10,10 +10,6 @@
true
-
- $(DefineConstants);NETSTANDARD
-
-