diff --git a/Directory.Build.props b/Directory.Build.props
index c212909cb0f3..1911068dbe75 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -1,6 +1,8 @@
+
+
net9.0
10.0.26100.0
10.0.19041.0
@@ -8,6 +10,11 @@
$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
preview
+
true
+
+
+ strict
+
diff --git a/src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj b/src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj
index fc0b6e7d6cdb..d3cc7cccad1b 100644
--- a/src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj
+++ b/src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj
@@ -12,6 +12,7 @@
true
true
true
+ true
diff --git a/src/Files.App.CsWin32/Files.App.CsWin32.csproj b/src/Files.App.CsWin32/Files.App.CsWin32.csproj
index d3a5a5198de2..2b9f3ea2b2f3 100644
--- a/src/Files.App.CsWin32/Files.App.CsWin32.csproj
+++ b/src/Files.App.CsWin32/Files.App.CsWin32.csproj
@@ -11,6 +11,7 @@
win-x86;win-x64;win-arm64
true
true
+ true
diff --git a/src/Files.Core.Storage/Files.Core.Storage.csproj b/src/Files.Core.Storage/Files.Core.Storage.csproj
index 50525477bdd9..34f14cf46e42 100644
--- a/src/Files.Core.Storage/Files.Core.Storage.csproj
+++ b/src/Files.Core.Storage/Files.Core.Storage.csproj
@@ -10,6 +10,7 @@
win-x86;win-x64;win-arm64
true
true
+ true
diff --git a/src/Files.Shared/Files.Shared.csproj b/src/Files.Shared/Files.Shared.csproj
index a4941310287b..4d1159f442bf 100644
--- a/src/Files.Shared/Files.Shared.csproj
+++ b/src/Files.Shared/Files.Shared.csproj
@@ -10,6 +10,7 @@
win-x86;win-x64;win-arm64
true
true
+ true