I have a custom image with Node.js, Microsoft Build Tools 2013, Windows SDK for Windows 8.1, .Net Framework 4.5.1 SDK, Microsoft Test Controller for Visual Studio 2013, Microsoft Agents for Visual Studio 2013 and Microsoft Web Deploy 3.5 installed.
Most things are working but I am struggling to get the project to package. I do not need the project to deploy directly to a web server; a zip will do fine.
On my dev machine I have a publish profile set that creates a folder with the content of my web project as I would expect. On the build server the project builds with no errors but no publishing happens. No error messages either.
I have tried a lot of potential solutions and these range from VS2010 to VS2013 but I have not had a success yet.
My publish profile and configuration is DevTest:
"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe" MyWeb.csproj /p:Configuration=DevTest /p:VisualStudioVersion=12.0 /p:CreatePackageOnPublish=true /p:DeployOnBuild=true /p:Configuration=DevTest
Any help is appreciated!
Copyright Notice:Content Author:「Chilberto」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/30771478/elastic-bamboo-ci-windows-server-msbuild-12-not-publishing