If you want to use Publishing Profiles while building your Visual Studio solutions in TeamCity, you will discover that it is relatively easy to accomplish!
First of all, you will want to create 2 System Properties (under the Parameters for the Build Configuration Settings):
If you then take a look at your Build Configuration's Build Log, you will notice that these parameters are being passed to your Visual Studio build so that your Publishing Profile is being executed!
First of all, you will want to create 2 System Properties (under the Parameters for the Build Configuration Settings):
- system.PublishProfile - set to the value of your PublishProfile (such as Release)
- system.DeployOnBuild - set to true
If you then take a look at your Build Configuration's Build Log, you will notice that these parameters are being passed to your Visual Studio build so that your Publishing Profile is being executed!
No comments:
Post a Comment