diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index fc0c0e4e5464..87911194c72b 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -11,6 +11,9 @@
true
<_SkipUpgradeNetAnalyzersNuGetWarning>true
+
+ true
+
true
diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets
index 2ad7ccd137d3..fc60f24d5fcb 100644
--- a/src/Directory.Build.targets
+++ b/src/Directory.Build.targets
@@ -76,7 +76,7 @@
-
+
diff --git a/src/Uno.UI.Tests/Uno.UI.Unit.Tests.csproj b/src/Uno.UI.Tests/Uno.UI.Unit.Tests.csproj
index 005db7a7af2f..d0abd66bcbbf 100644
--- a/src/Uno.UI.Tests/Uno.UI.Unit.Tests.csproj
+++ b/src/Uno.UI.Tests/Uno.UI.Unit.Tests.csproj
@@ -1,6 +1,7 @@
$(NetUnitTests)
+ Exe
false
bin\$(Platform)\$(Configuration)
true
@@ -17,21 +18,8 @@
true
-->
-
- true
- full
- false
- $(DefineConstants);TRACE;DEBUG;HAS_UMBRELLA_BINDING;IS_UNIT_TESTS;HAS_GEOCOORDINATE_WATCHER;HAS_GEOCOORDINATE;HAS_COMPILED_REGEX;HAS_ISTORAGEFILE;HAS_SEMAPHORE;HAS_FILE_IO;IS_UNO;HAS_CRIPPLEDREFLECTION;NET46
-
-
- true
- full
- false
- $(DefineConstants);TRACE;HAS_UMBRELLA_BINDING;IS_UNIT_TESTS;HAS_GEOCOORDINATE_WATCHER;HAS_GEOCOORDINATE;HAS_COMPILED_REGEX;HAS_ISTORAGEFILE;HAS_SEMAPHORE;HAS_FILE_IO;IS_UNO;HAS_CRIPPLEDREFLECTION
-
-
@@ -62,8 +50,6 @@
-
-