Adding references in Visual Studio project template?
问题 I'm creating a multi-project template for VS2015 where one of the created projects references the other. How do I add the reference using the template? If I add the reference using the VS GUI it will add the following to the .vcxproj file: <ItemGroup> <ProjectReference Include="path\xyz.vcxproj"> <Project>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}</Project> </ProjectReference> And the GUID is a valid one, since VS knows the GUID of the referenced project. When I create the new projects from