Preventing Visual Studio from rewriting project references
问题 I have a large solution in which the "root" project includes feature projects by glob: <ProjectReference Include="..\Feature\*\*.csproj" /> This works, despite not looking great in the references list, but the issue that occasionally Visual Studio will rewrite the csproj with all of the project references resolved: <ProjectReference Include="..\Feature\A\A.csproj" /> <ProjectReference Include="..\Feature\B\B.csproj" /> It's not clear what triggers this, but I'm guessing it might have