Publish apphost exe again and deploy web.config via FTP

This commit is contained in:
2026-02-05 00:41:26 +01:00
parent 19b49f24a3
commit 189d640f01
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,6 @@
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseAppHost>false</UseAppHost>
</PropertyGroup>
<ItemGroup>

View File

@@ -102,7 +102,7 @@ option confirm off
open ftp://$($FtpUser):$($Password.Replace('`n','').Replace('`r',''))@$FtpHost
lcd $PublishDir
cd $RemoteDir
synchronize remote . -delete -filemask="|web.config;App_Data/;logs/"
synchronize remote . -delete -filemask="|App_Data/;logs/"
exit
"@ | Set-Content -Path $tempScript -Encoding UTF8