Ok, I am trying to publish a vb.net web application project using msbuild. I am running msbuild from a jenkins. I build three solutions in order as the first two provide necessary references for the last solution. The last solution contains the web application project that I am trying to publish.
So I run msbuild three times, one for each solution and then I run msbuild on the project to publish the web application project. I run the following command to publish the project:
msbuild.exe webApp.vbproj /p:VisualStudioVersion=12.0 /p:DeployOnBuild=true /p:PublishProfile=local.pubxml
the publish file resides in the sub folder that lies under the project folder at:"My Project\PublishProfiles\local.pubxml"
I got the project to publish once, but have been unable to reproduce. I had a previous post on the issue, but I have not gotten the results to work consistently for me: