Extended class SharedCLI to include well known information about various management client contexts and return such information when crafting user- and context strings.
Changed VS to use new ClientContext.VisualStudio when launching applications.
Added a "current context" information to the ClientContext class. To be used when an expliclit context is not given when requesting context information.
Assured star.exe, staradmin.exe and the Visual Studio extension all initialized the current client context properly.
Added new method ClientContext.GetCurrentContextInfo, building up a context string from the currently set context.
Switched all use of ClientContext-specific properties to get client context information to instead use the new method GetCurrentContextInfo().
Added new method ParseContextInfoToKnownContext to ClientContext, allowing well known context identities to be extracted from a client context info string.
Extended AppInfo in the public server domain model with new property StartedBy.
Added class KnownClientContexts to Starcounter.Server. To replace StarcounterCLI.ClientContext.KnownContexts.
Replaced all usage of StarcounterCLI.ClientContext.KnownContexts with Starcounter.Server.KnownClientContexts.
Added new method ParseFromContextInfo to KnownClientContexts and removed equal one from SharedCLI.
Changed the admin server so that applications launched from Visual Studio are not automatically restarted on code host restarts happening when another application is stopped.
Improved ParseFromContextInfo in KnownClientContexts to handle null/empty strings.
Changed admin server to only discard IDE-launched fellow applications when restarting another IDE-launced application.
Changed the VS extension to utilize the new services of the admin server when stopping applications rather than use explicit restarting of the code host as was done previously. This is part of addressing issue #2186.
Merge branch 'develop' into issue/2186-2
Merge branch 'issue/2186-2' into develop. With this merged, #2186 should be fully fixed.