diff --git a/Agent.Installer.Win/Services/InstallerService.cs b/Agent.Installer.Win/Services/InstallerService.cs
index 901e5859..526ede86 100644
--- a/Agent.Installer.Win/Services/InstallerService.cs
+++ b/Agent.Installer.Win/Services/InstallerService.cs
@@ -42,7 +42,7 @@ namespace Remotely.Agent.Installer.Win.Services
return false;
}
- await InstallDesktpRuntimeIfNeeded();
+ //await InstallDesktpRuntimeIfNeeded();
StopService();
diff --git a/Desktop.Linux/Properties/PublishProfiles/linux-x64.pubxml b/Desktop.Linux/Properties/PublishProfiles/linux-x64.pubxml
index 269443d4..a7198d2b 100644
--- a/Desktop.Linux/Properties/PublishProfiles/linux-x64.pubxml
+++ b/Desktop.Linux/Properties/PublishProfiles/linux-x64.pubxml
@@ -10,8 +10,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
netcoreapp3.1
..\Server\wwwroot\Downloads
linux-x64
- false
+ true
True
False
+ True
\ No newline at end of file
diff --git a/Desktop.Win/Properties/PublishProfiles/win-x64.pubxml b/Desktop.Win/Properties/PublishProfiles/win-x64.pubxml
index 28b6ceed..07b73b6e 100644
--- a/Desktop.Win/Properties/PublishProfiles/win-x64.pubxml
+++ b/Desktop.Win/Properties/PublishProfiles/win-x64.pubxml
@@ -10,8 +10,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
netcoreapp3.1
..\Server\wwwroot\Downloads\Win-x64\
win10-x64
- false
+ True
True
False
+ True
\ No newline at end of file
diff --git a/Desktop.Win/Properties/PublishProfiles/win-x86.pubxml b/Desktop.Win/Properties/PublishProfiles/win-x86.pubxml
index 3c28a405..ed0048c3 100644
--- a/Desktop.Win/Properties/PublishProfiles/win-x86.pubxml
+++ b/Desktop.Win/Properties/PublishProfiles/win-x86.pubxml
@@ -10,8 +10,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
netcoreapp3.1
..\Server\wwwroot\Downloads\Win-x86\
win10-x86
- false
+ True
True
False
+ True
\ No newline at end of file
diff --git a/ScreenCast.Linux/Properties/PublishProfiles/linux-x64.pubxml b/ScreenCast.Linux/Properties/PublishProfiles/linux-x64.pubxml
index 17d8b706..e76efdf9 100644
--- a/ScreenCast.Linux/Properties/PublishProfiles/linux-x64.pubxml
+++ b/ScreenCast.Linux/Properties/PublishProfiles/linux-x64.pubxml
@@ -10,7 +10,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
netcoreapp3.1
..\Agent\bin\Release\netcoreapp3.1\linux-x64\publish\ScreenCast
linux-x64
- false
+ True
False
False
diff --git a/ScreenCast.Win/Properties/PublishProfiles/win-x64-debug.pubxml b/ScreenCast.Win/Properties/PublishProfiles/win-x64-debug.pubxml
index 35947dd1..78ec3524 100644
--- a/ScreenCast.Win/Properties/PublishProfiles/win-x64-debug.pubxml
+++ b/ScreenCast.Win/Properties/PublishProfiles/win-x64-debug.pubxml
@@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
x64
netcoreapp3.1
..\Agent\bin\Release\netcoreapp3.1\win10-x64\publish\ScreenCast
- false
+ True
win10-x64
True
False
diff --git a/ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml b/ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml
index 6134c414..99690cd1 100644
--- a/ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml
+++ b/ScreenCast.Win/Properties/PublishProfiles/win-x64.pubxml
@@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
x64
netcoreapp3.1
..\Agent\bin\Release\netcoreapp3.1\win10-x64\publish\ScreenCast
- false
+ True
win10-x64
False
False
diff --git a/ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml b/ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml
index f408786c..16254fe5 100644
--- a/ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml
+++ b/ScreenCast.Win/Properties/PublishProfiles/win-x86.pubxml
@@ -10,7 +10,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
netcoreapp3.1
..\Agent\bin\Release\netcoreapp3.1\win10-x86\publish\ScreenCast
win10-x86
- false
+ True
False
False
diff --git a/Utilities/Publish.ps1 b/Utilities/Publish.ps1
index dc0f7ec9..eef2660d 100644
--- a/Utilities/Publish.ps1
+++ b/Utilities/Publish.ps1
@@ -98,9 +98,9 @@ if ((Test-Path -Path "$Root\Agent\bin\Release\netcoreapp3.1\linux-x64\publish")
# Publish Core clients.
-dotnet publish /p:Version=$CurrentVersion /p:FileVersion=$CurrentVersion --runtime win10-x64 --configuration Release --no-self-contained --output "$Root\Agent\bin\Release\netcoreapp3.1\win10-x64\publish" "$Root\Agent"
-dotnet publish /p:Version=$CurrentVersion /p:FileVersion=$CurrentVersion --runtime linux-x64 --configuration Release --no-self-contained --output "$Root\Agent\bin\Release\netcoreapp3.1\linux-x64\publish" "$Root\Agent"
-dotnet publish /p:Version=$CurrentVersion /p:FileVersion=$CurrentVersion --runtime win10-x86 --configuration Release --no-self-contained --output "$Root\Agent\bin\Release\netcoreapp3.1\win10-x86\publish" "$Root\Agent"
+dotnet publish /p:Version=$CurrentVersion /p:FileVersion=$CurrentVersion --runtime win10-x64 --configuration Release --output "$Root\Agent\bin\Release\netcoreapp3.1\win10-x64\publish" "$Root\Agent"
+dotnet publish /p:Version=$CurrentVersion /p:FileVersion=$CurrentVersion --runtime linux-x64 --configuration Release --output "$Root\Agent\bin\Release\netcoreapp3.1\linux-x64\publish" "$Root\Agent"
+dotnet publish /p:Version=$CurrentVersion /p:FileVersion=$CurrentVersion --runtime win10-x86 --configuration Release --output "$Root\Agent\bin\Release\netcoreapp3.1\win10-x86\publish" "$Root\Agent"
New-Item -Path "$Root\Agent\bin\Release\netcoreapp3.1\win10-x64\publish\ScreenCast\" -ItemType Directory -Force
New-Item -Path "$Root\Agent\bin\Release\netcoreapp3.1\win10-x86\publish\ScreenCast\" -ItemType Directory -Force