diff --git a/Directory.Build.props b/Directory.Build.props
index 173535a6c335..e8dea3960b24 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -5,5 +5,6 @@
10.0.22621.0
10.0.19041.0
10.0.22621.57
+ $(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
-
\ No newline at end of file
+
diff --git a/src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj b/src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj
index e31ac656a7a1..1991f87f1b68 100644
--- a/src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj
+++ b/src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj
@@ -2,7 +2,7 @@
- $(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
+ $(WindowsTargetFramework)
en-US
$(MinimalWindowsVersion)
true
diff --git a/src/Files.App.Controls/Files.App.Controls.csproj b/src/Files.App.Controls/Files.App.Controls.csproj
index e6f01f2756e9..12c0ab679abb 100644
--- a/src/Files.App.Controls/Files.App.Controls.csproj
+++ b/src/Files.App.Controls/Files.App.Controls.csproj
@@ -2,7 +2,7 @@
- $(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
+ $(WindowsTargetFramework)
$(MinimalWindowsVersion)
true
enable
diff --git a/src/Files.App.CsWin32/Files.App.CsWin32.csproj b/src/Files.App.CsWin32/Files.App.CsWin32.csproj
index c5e3eb35d2ff..d0814957aeba 100644
--- a/src/Files.App.CsWin32/Files.App.CsWin32.csproj
+++ b/src/Files.App.CsWin32/Files.App.CsWin32.csproj
@@ -2,7 +2,7 @@
- $(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
+ $(WindowsTargetFramework)
$(MinimalWindowsVersion)
enable
true
diff --git a/src/Files.App.Server/Files.App.Server.csproj b/src/Files.App.Server/Files.App.Server.csproj
index 5a7182926f7e..5c5cf6526e2a 100644
--- a/src/Files.App.Server/Files.App.Server.csproj
+++ b/src/Files.App.Server/Files.App.Server.csproj
@@ -6,7 +6,7 @@
en-US
Scale|DXFeatureLevel
Language=en-US;af;ar;be-BY;bg;ca;cs-CZ;da;de-DE;el;en-GB;es-ES;es-419;fa-IR;fi-FI;fil-PH;fr-FR;he-IL;hi-IN;hr-HR;hu-HU;id-ID;it-IT;ja-JP;ka;km-KH;ko-KR;lt-LT;lv-LV;ms-MY;nb-NO;nl-NL;pl-PL;pt-BR;pt-PT;ro-RO;ru-RU;sk-SK;sq-AL;sr-Cyrl;sv-SE;ta;th-TH;tr-TR;uk-UA;vi;zh-Hans;zh-Hant
- $(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
+ $(WindowsTargetFramework)
$(MinimalWindowsVersion)
enable
enable
diff --git a/src/Files.App.Storage/Files.App.Storage.csproj b/src/Files.App.Storage/Files.App.Storage.csproj
index 89c2a3eb5d58..637dda48c69d 100644
--- a/src/Files.App.Storage/Files.App.Storage.csproj
+++ b/src/Files.App.Storage/Files.App.Storage.csproj
@@ -2,7 +2,7 @@
- $(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
+ $(WindowsTargetFramework)
$(MinimalWindowsVersion)
enable
true
diff --git a/src/Files.App/Files.App.csproj b/src/Files.App/Files.App.csproj
index 868f7ab0a696..b8bbc571dbac 100644
--- a/src/Files.App/Files.App.csproj
+++ b/src/Files.App/Files.App.csproj
@@ -2,7 +2,7 @@
- $(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
+ $(WindowsTargetFramework)
WinExe
Files
en-US
diff --git a/tests/Files.App.UITests/Files.App.UITests.csproj b/tests/Files.App.UITests/Files.App.UITests.csproj
index fae502198d10..ac15fbd05272 100644
--- a/tests/Files.App.UITests/Files.App.UITests.csproj
+++ b/tests/Files.App.UITests/Files.App.UITests.csproj
@@ -3,7 +3,7 @@
WinExe
- $(TargetFrameworkVersion)-windows$(TargetWindowsVersion)
+ $(WindowsTargetFramework)
$(MinimalWindowsVersion)
win-$(Platform).pubxml
true