Good techniques to use Makefiles in VisualStudio?

后端 未结 11 1035
迷失自我
迷失自我 2021-01-05 23:12

I know the ideal way to build projects is without requiring IDE based project files, since it theoretically causes all sort of trouble with automation and what not. But I\'v

11条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-05 23:26

    We use a NAnt script, which at the compile step calls MSBuild. Using NAnt allows us to perform both pre- and post-build tasks, such as setting version numbers to match source control revision numbers, collating code coverage information, assembling and zipping deployment sources. But still, at the heart of it, it's MSBuild that's actually doing the compiling.

    You can integrate a NAnt build as a custom tool into the IDE, so that it can be used both on a build or continuous integration server and by the developers in the same way.

提交回复
热议问题