diff --git a/Directory.Build.props b/Directory.Build.props
index 1f59b4e81..38fbfde3f 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -41,10 +41,15 @@
$(RID)-$(PlatformTarget)
-
- true
- full
- false
+
+ true
+ full
+
+
+ true
+ full
+ false
+ DEBUG
@@ -56,4 +61,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/AST/CppSharp.AST.csproj b/src/AST/CppSharp.AST.csproj
index 67da38647..965ec0162 100644
--- a/src/AST/CppSharp.AST.csproj
+++ b/src/AST/CppSharp.AST.csproj
@@ -1,7 +1,6 @@
netstandard2.1
- AnyCPU
true
true
diff --git a/src/Core/CppSharp.csproj b/src/Core/CppSharp.csproj
index 7b852d0d8..404092bff 100644
--- a/src/Core/CppSharp.csproj
+++ b/src/Core/CppSharp.csproj
@@ -1,7 +1,6 @@
netstandard2.1
- AnyCPU
true
true
diff --git a/src/Generator/Generators/MSBuildGenerator.cs b/src/Generator/Generators/MSBuildGenerator.cs
index ab6fe8c5d..dfa3f50c2 100644
--- a/src/Generator/Generators/MSBuildGenerator.cs
+++ b/src/Generator/Generators/MSBuildGenerator.cs
@@ -24,7 +24,7 @@ public override void Process()
Write($@"
- netstandard2.0
+ netstandard2.1
{(Context.TargetInfo.PointerWidth == 64 ? "x64" : "x86")}
{Options.OutputDir}
{module.LibraryName}.xml
diff --git a/src/Runtime/CppSharp.Runtime.csproj b/src/Runtime/CppSharp.Runtime.csproj
index 6b2ee9552..47bf5c915 100644
--- a/src/Runtime/CppSharp.Runtime.csproj
+++ b/src/Runtime/CppSharp.Runtime.csproj
@@ -2,8 +2,7 @@
7.3
true
- netstandard2.0
- AnyCPU
+ netstandard2.1
true
true