Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the new GlobalSection in a VS2017 15.3 solution file?

After upgrading to Visual Studio 2017 15.3.1 and ASP.NET Core 2.0, my solution file now has this at the end:

GlobalSection(ExtensibilityGlobals) = postSolution     SolutionGuid = {...a GUID...} EndGlobalSection 

What is this, and do I need it?

like image 374
grokky Avatar asked Aug 24 '17 12:08

grokky


People also ask

What .SLN file contains?

The . sln file contains text-based information the environment uses to find and load the name-value parameters for the persisted data and the project VSPackages it references. When a user opens a solution, the environment cycles through the preSolution , Project , and postSolution information in the .

What is dotnet solution file?

Visual Studio solution files are just another level you can use to group projects and files that do not belong to projects. They also allow you to create virtual folders for projects, so they can be used to organize multi-project “solutions” (hence the name).


1 Answers

According to Mastering Visual Studio book the ExtensibilityGlobals (and ExtensibilityAddIns) section included for the benefit of add-in authors. ExtensibilityGlobals used to store global information about the solution. So it is clearly generated by(or for) some 3rd party tools.

The only discussion about SolutionGuid is here, which is generated by CMake and they advise that you should not touch this property.

Sometimes you can safely delete some properties from this section like discussed here.

like image 67
user2771704 Avatar answered Oct 13 '22 22:10

user2771704