I have some projects in a Visual Studio solution that ended up with references to projects that include the wrong GUID for the specified project. (Perhaps due to the recreated link project at some point)
eg. Consider a CoreProject.csproj project with the following properties:
<ProjectGuid>{93803F9C-8C65-4949-8D44-AB7A3D0452C8}</ProjectGuid> <OutputType>Library</OutputType> <RootNamespace>CoreProject</RootNamespace> <AssemblyName>CoreProject</AssemblyName>
Another project includes a link to this, but at some point the GUID has changed and is now incorrect.
<ProjectReference Include="..\CoreProject\CoreProject.csproj"> <Project>{5FD52517-79F8-41D2-B6F2-EA2D8A886549}</Project> <Name>CoreProject</Name> </ProjectReference>
The solution is still loading and building correctly in Visual Studio and msbuild, but I suspect that incorrect GUIDs may have some performance impact in VS.
The solution is quite large with many projects that have this problem, and I would prefer not to add these links manually. Are there any tools or macros that can βfixβ the projectβs GUID links?
source share