Why does one of my project GUIDs change when creating a project in VS 2005?

For my two VS 2005 C ++ projects, VS wants to write a .sln file when creating projects. I have a number of other VS 2005 C ++ projects where this is not the case. This is a problem because, due to the fact that we have ClearCase source control integrated with our VS 2005 installations, and when we try to run night build through batch files, the build pause is displayed as a ClearCase validation dialog.

Seeing that VS changes in .sln files, this is the second GUID in the project line.

Before building:

Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InterCommClientB", "InterCommClientB.vcproj", "{A2AF232A-7F27-4340-81D5-8ABFD10994D2}"

After assembly:

Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InterCommClientB", "InterCommClientB.vcproj", "{67BE85B7-3234-484E-88FB-4F0E42096583}"

Any help gratefully received. I am new to VS 2005, since we just recently switched from VC ++ 6.0, so I apologize if I missed something obvious.

VS 2005 Professional Edition 1 (SP1).

,

Greg.

+3
3

. , VS (, 6 2003) VS 2010 GUID .vcxproj. - , , VS GUID .sln, .vcxproj. , , , .sln .

: http://connect.microsoft.com/VisualStudio/feedback/details/586258/missing-projectguid-in-vcxproj-files

+2

, , InterCommClientB (, ). , sln , GUID .

, , - , . , sln .

, , , , .

+1

, Visual Studio , , Visual Studio. Visual Studio .

If this is not the case, perhaps some other agency has forced the decision file to change its GUIDs. In one case, I used National Instruments .NET tools and they have a licensing scheme that would initiate such an action (modifying extraneous files for unjustified reasons) whenever I was going to perform a rebuild.

Please carefully examine the output of the assembly (in the log or in the output window) - you can find additional tips there!

0
source

Source: https://habr.com/ru/post/1702234/


All Articles