Suggestions for maintaining Visual Studio vcproj project files in version control

后端 未结 6 2104
迷失自我
迷失自我 2021-02-19 19:00

Microsoft Visual Studio uses XML to save its .vcproj project files. So diffing XML project files should be easily.

Unfortunately, if you change any

6条回答
  •  有刺的猬
    2021-02-19 19:19

    I think I've found the reason for this shuffle. At least in VS2008.

    If you install the x64 compilers, VS will order projects as:

    Debug|Win32
    Debug|x64
    Release|Win32
    Release|x64
    

    If you don't it will order them like:

    Debug|Win32
    Release|Win32
    Debug|x64
    Release|x64
    

    So make sure all your peers have the same compiler set installed, so it won't shuffle.

    Tested it and this behavior appears to be reproducible.

提交回复
热议问题