diff --git a/DnsServerApp/Properties/PublishProfiles/FolderProfile.pubxml b/DnsServerApp/Properties/PublishProfiles/FolderProfile.pubxml
index dadca84f..f7571afa 100644
--- a/DnsServerApp/Properties/PublishProfiles/FolderProfile.pubxml
+++ b/DnsServerApp/Properties/PublishProfiles/FolderProfile.pubxml
@@ -7,7 +7,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
FileSystem
Release
Any CPU
- net5.0
+ net6.0
bin\Release\publish\
false
<_IsPortable>true
diff --git a/DnsServerSystemTrayApp/Properties/PublishProfiles/FolderProfile.pubxml b/DnsServerSystemTrayApp/Properties/PublishProfiles/FolderProfile.pubxml
index 79df5bde..487d38da 100644
--- a/DnsServerSystemTrayApp/Properties/PublishProfiles/FolderProfile.pubxml
+++ b/DnsServerSystemTrayApp/Properties/PublishProfiles/FolderProfile.pubxml
@@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
Any CPU
..\DnsServerWindowsSetup\publish
FileSystem
- net5.0-windows
+ net6.0-windows
false
\ No newline at end of file
diff --git a/DnsServerWindowsService/Properties/PublishProfiles/FolderProfile.pubxml b/DnsServerWindowsService/Properties/PublishProfiles/FolderProfile.pubxml
index a073f992..5fbd216d 100644
--- a/DnsServerWindowsService/Properties/PublishProfiles/FolderProfile.pubxml
+++ b/DnsServerWindowsService/Properties/PublishProfiles/FolderProfile.pubxml
@@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
Any CPU
..\DnsServerWindowsSetup\publish
FileSystem
- net5.0
+ net6.0
false
\ No newline at end of file