Updated csproj entries which break TeamCity builds - #13
Conversation
|
The |
|
The version number used breaks the build when built under TeamCity (which has a given msbuild version which may be different to that used by the developer - in my case, the msbuild version on TC was newer). Removing the block altogether has absolutely no adverse effects on the dozen or so Nancy templates based projects I have done this to. I will replicate the issue under TC and post the error. |
The effect is has is that it won't include the
|
|
More specifically, it removes the WPP (Web Publishing Pipeline) which makes it easier to publish web applications using MSDeploy aka. Web Deploy:
|
|
That said, we don't necessarily need to include this in the templates, but it is part of the default ASP.NET web application templates. The solution is (embarrassingly) to install VS on the build machine or copy the targets over. See http://stackoverflow.com/a/3993177/682105 and http://stackoverflow.com/a/5344246/682105. |
I've removed some settings from the various csproj files which seem to have no function other than to break TeamCity builds under msbuild.