Integrating MSBuild into Visual Studio

后端 未结 10 1612
陌清茗
陌清茗 2021-02-02 11:03

I\'m a solo developer running Visual Studio 2008 and looking into MSBuild to improve my build process.

Almost all of the tutorials I\'ve found so far have plenty of info

相关标签:
10条回答
  • 2021-02-02 11:54

    Also, don't forget you can use the MSBuild SideKick for developing and debugging your (local) msbuilds, available for free at http://www.attrice.info/msbuild/

    0 讨论(0)
  • 2021-02-02 11:56

    MSBuild is the build engine used by Visual Studio to process the files included in a project.
    The Visual Studio project files themselves (**.csproj* for C#, and .vbproj for VB, for example) are in fact MSBuild scripts that are run every time you build a project.

    0 讨论(0)
  • 2021-02-02 11:57

    Your .csproj file is a MSBuild file. So you are actually using it already.

    You may of course wish to create a separate build file to have more control, especially within a continuous integration or nightly build say.

    If you simply wish to edit your project build file then you can use the IDE to edit some settings such as pre and post build actions or edit the Xml itself by unloading project and right click and editing.

    0 讨论(0)
  • 2021-02-02 11:57

    The easiest way is probably to invoke your custom build script using a post-build step. Right click project, choose "Build Events" and call msbuild with your custom msbuild file from there.

    0 讨论(0)
提交回复
热议问题