diff --git a/WinUIGallery/Properties/PublishProfiles/win10-arm64-unpackaged.pubxml b/WinUIGallery/Properties/PublishProfiles/win10-arm64-unpackaged.pubxml
index 7ec8241fc..a05b264dd 100644
--- a/WinUIGallery/Properties/PublishProfiles/win10-arm64-unpackaged.pubxml
+++ b/WinUIGallery/Properties/PublishProfiles/win10-arm64-unpackaged.pubxml
@@ -7,10 +7,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
FileSystem
ARM64
win10-arm64
- True
+ $(IsInWinUIRepo)
False
False
False
- $(Optimized)
+ False
\ No newline at end of file
diff --git a/WinUIGallery/Properties/PublishProfiles/win10-arm64.pubxml b/WinUIGallery/Properties/PublishProfiles/win10-arm64.pubxml
index b0de94924..7a2dc7439 100644
--- a/WinUIGallery/Properties/PublishProfiles/win10-arm64.pubxml
+++ b/WinUIGallery/Properties/PublishProfiles/win10-arm64.pubxml
@@ -7,10 +7,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
FileSystem
ARM64
win10-arm64
- True
+ $(IsInWinUIRepo)
False
True
False
- $(Optimized)
+ False
\ No newline at end of file
diff --git a/WinUIGallery/Properties/PublishProfiles/win10-x64-unpackaged.pubxml b/WinUIGallery/Properties/PublishProfiles/win10-x64-unpackaged.pubxml
index 475bdcab5..8b7e12339 100644
--- a/WinUIGallery/Properties/PublishProfiles/win10-x64-unpackaged.pubxml
+++ b/WinUIGallery/Properties/PublishProfiles/win10-x64-unpackaged.pubxml
@@ -7,10 +7,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
FileSystem
x64
win10-x64
- True
+ $(IsInWinUIRepo)
False
False
False
- $(Optimized)
+ False
\ No newline at end of file
diff --git a/WinUIGallery/Properties/PublishProfiles/win10-x64.pubxml b/WinUIGallery/Properties/PublishProfiles/win10-x64.pubxml
index 5c98a9790..e0352ba90 100644
--- a/WinUIGallery/Properties/PublishProfiles/win10-x64.pubxml
+++ b/WinUIGallery/Properties/PublishProfiles/win10-x64.pubxml
@@ -7,10 +7,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
FileSystem
x64
win10-x64
- True
+ $(IsInWinUIRepo)
False
True
False
- $(Optimized)
+ False
\ No newline at end of file
diff --git a/WinUIGallery/Properties/PublishProfiles/win10-x86-unpackaged.pubxml b/WinUIGallery/Properties/PublishProfiles/win10-x86-unpackaged.pubxml
index ab2cf4da1..b3faccea8 100644
--- a/WinUIGallery/Properties/PublishProfiles/win10-x86-unpackaged.pubxml
+++ b/WinUIGallery/Properties/PublishProfiles/win10-x86-unpackaged.pubxml
@@ -7,10 +7,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
FileSystem
x86
win10-x86
- True
+ $(IsInWinUIRepo)
False
False
False
- $(Optimized)
+ False
\ No newline at end of file
diff --git a/WinUIGallery/Properties/PublishProfiles/win10-x86.pubxml b/WinUIGallery/Properties/PublishProfiles/win10-x86.pubxml
index 7852b5272..faaaee026 100644
--- a/WinUIGallery/Properties/PublishProfiles/win10-x86.pubxml
+++ b/WinUIGallery/Properties/PublishProfiles/win10-x86.pubxml
@@ -7,10 +7,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
FileSystem
x86
win10-x86
- True
+ $(IsInWinUIRepo)
False
True
False
- $(Optimized)
+ False
\ No newline at end of file