ASP.NET Precompilation with Web Deployment from Team City

I currently have a build solution in Team City with the following command line arguments:

/p:DeployOnBuild=true;DeployTarget=Package 

This creates a web deployment package, which is then deployed from another build stage. The problem I am facing is that this package does not contain precompiled views, despite the fact that the project settings in Package/PublishWeb set to the appropriate parameters in Package/PublishWeb .

I understand that publishing profiles is not available through msbuild (which sucks ...), but even I hope this is still possible from the command line.

Any help would be greatly appreciated.

+4
source share

Source: https://habr.com/ru/post/1432752/


All Articles