I have had webdeploy running for YEARS on a Windows Server 2012 machine with standard MSBuild arguments (like this).
Yesterday I installed the Windows (Server Hosting)
version of the .NET Core Installer
from the .NET Core downloads page.
Since then my build tasks are running and successfully building my website, but not actually running any web deploy publishing. It is not failing - it is just not being run.
I want to stress I am talking about a 'legacy' .NET application - not a .NET Core application. I just installed .NET Core for somebody else.
I can verify this with the following observations:
- There are no errors in any event viewers (except ones that are months old)
- There is no message in the msbuild logfile that says
Start Web Deploy Publish
, however log files from just a couple days ago do have this message. - I can connect to the local server at port 8172 and it makes a connection.
- It is happening with multiple projects that nobody else has access to.
_PublishedWebsites
does get created with the latest files - it just never gets deployed anywhere.
What could possibly have broken this? Did the Windows Server Hosting
package break it - or was it just some other update that came in? I've run out of ideas how to fix it and don't want to revert to xcopy!