Is there a tool for detecting Visual Studio projects with duplicate GUIDs?

Posted by sharptooth on Stack Overflow See other posts from Stack Overflow or by sharptooth
Published on 2009-10-16T09:27:32Z Indexed on 2010/03/28 5:03 UTC
Read the original article Hit count: 274

Filed under:

When creating new Visual Studio C++ projects there're two ways: either run the wizard and then painfully change all the necessary settings in the project or just copy and existing project, rename everything there and add files into it.

The second variant is great except that the .vcproj file stores a project GUID. This GUID is used to track project dependencies and the startup project when two or more projects are in one solution. If any two projects in one solution have identical GUIDs problems can arise - dependencies are lost and the startup prject is reset on next solution reload.

Clearly there's a need for a tool that would scan the filesystem subtree and detect projects with identical GUIDs here. Before I start writing one ... is there a ready tool for that?

© Stack Overflow or respective owner

Related posts about visual-studio