Visual Studio Solutions / Multiple project : How to effectively propagate project properties amongst several C++ projects

后端 未结 5 1364
南旧
南旧 2020-12-04 08:38

I am working with a Visual Studio 2005 C++ solution that includes multiple projects (about 30). Based upon my experience, it often becomes annoying to maintain all the prop

5条回答
  •  失恋的感觉
    2020-12-04 09:04

    *.vcxproj files are msbuild files. So you just take a property you don't want in all your project files and delete it. Then put it in your property sheet. Then make sure all the projects files properly import that property sheet.

    This can be incredibly tedious for hundreds of files. I wrote a tool make this interactive:

    https://github.com/chris1248/MsbuildRefactor

提交回复
热议问题