I have a C++ project that has dependencies to 4 C# projects. These dependencies are specified in an existing solution file.
The trick is, when I copy the projects in my own C# app and give them new project GUID's, I want to add it an the existing solution file programmatically (not the solution file of my own C# app), including their project dependencies. This is pretty much where I'm stuck, is there any way to do this programmatically in C#?
I need to do this from C# code that is not part of either the C# project or its dependencies.
The following is the header of the solution file I need to edit:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2010
MinimumVisualStudioVersion = 10.0.40219.1