Hello everyone i've successfully migrated to PB 2022. Im trying to rebuild also my snapdevelop webapi project.
The rebuild finished without errors after upgrading all the dependencies, but when i try to publish the app to my remote server (Windows 2016 Server IIS) i get this error:
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Publish started...
1> ------ Publish started: Project: StartWebApi3.csproj, Configuration: Release Any CPU ------
1> StartWebApi3 -> S:\Webapi\Start Web Api 3\StartWebApi3\bin\Release\net6.0\win-x64\StartWebApi3.dll
1> StartWebApi3 -> S:\Webapi\Start Web Api 3\StartWebApi3\bin\Release\net6.0\win-x64\publish\
1> Informazioni: Utilizzo dell'ID 'fae2926a-62cc-4207-a34d-184a6a5768f7' per le connessioni al server remoto.
1> Informazioni: Creazione dell'applicazione (webapi)
1> MSDeploy: "msdeploy.exe" exited with code -1.
========== Publish: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
If i try to publish to a local folder then copy manually the files generated to my webserver and restart it everything working fine as expected
The web deploy from snapdevelop 2021 working fine.
I've tried to recreate the publish profile from scratch but it keeps failing. Any ideas?
** update **
having exactly the same issue on my PowerServer 2022 project. Upgraded the PB and PS project to 2022 but when i try to deploy to remote server i get same error.
Had Web Deploy 4.0 installed on my machine so i've uninstalled and re-installed web deploy 3.6 from scratch but didn't help.
Anyway deploying to local folder and manually copy the app to webserver still working like a charm
tia,
simone