Adding projects to a solution

There’re times when you may need to manually edit a solution file. It helps to understand what happens behind the scenes. Here’s what changes (in .sln) as you add a project to a solution.

...
Project(“{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}”) = “MyFolder”, “MyFolder\NewProject.csproj”, “{FD47D76F-4A5A-4CAD-8CD5-6E131DBC9A34}”
EndProject
...
Global
 ...
 GlobalSection(ProjectConfigurationPlatforms) = postSolution
  ...
  {FD47D76F-4A5A-4CAD-8CD5-6E131DBC9A34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  {FD47D76F-4A5A-4CAD-8CD5-6E131DBC9A34}.Debug|Any CPU.Build.0 = Debug|Any CPU
  {FD47D76F-4A5A-4CAD-8CD5-6E131DBC9A34}.Release|Any CPU.ActiveCfg = Release|Any CPU
  {FD47D76F-4A5A-4CAD-8CD5-6E131DBC9A34}.Release|Any CPU.Build.0 = Release|Any CPU
  ...
 EndGlobalSection
 ...
EndGlobal

Comments

Popular posts from this blog

Changing default language in Visual Studio

Using Visual Studio Online with GitHub

Viewing test results and artifacts captured with 'Test & Feedback' in Azure DevOps