VS2010: several solutions, one common file / GUID of a C # project

We have several teams that share and jointly develop a specific SharedProject.csproj, which is a common component for many products. They make sure that everyone develops their own product (each product has its own solution file).

Each command refers to the SharedProject.csproj file in the corresponding solution file. None of the teams changed anything about this project, but source control continues to report this file.

It turns out that each solution file VS2010 refers to this project with a GUID for a specific project for this project. Despite the fact that the project is the same, each solution refers to it with a unique GUID.

This solution-specific GUID is entered into the SharedProject.csproj file each time the next command opens its solution.

How can we prevent VS2010 from changing / editing this SharedProject.csproj file unexpectedly?

+4
source share
1 answer

Edit each solution file to reference SharedProject.csproj with the same GUID.

+2
source

All Articles