当前位置: 动力学知识库 > 问答 > 编程问答 >

When do we use msbuild file?

问题描述:

I am working on a web application in VS 2008. To compile the applicaiton I go to Build in Visual Studio and click on Build Solution and when i have to deploy the site I click on Publish and it publishes the site to a directory.

Now my question is when do we use this msbuild file? what exactly this file does for Us?

Thanks.

网友答案:

You use a Build file when you have to do a series of operations that you want to do before or after compiling. This is used in most of the big projects where there will be other things (examples for other things are given below) that needs to be done and through MS build they will automated.

Examples of things that can be done with build :

  • Running Unit tests
  • Functional testing
  • Static Code analysis and reports
  • Packaging as an installer
分享给朋友:
您可能感兴趣的文章:
随机阅读: