Skip to content

global.json documentation #2902

Closed
Closed
@nguerrera

Description

@nguerrera

From @jaredpar on July 17, 2017 21:19

Where can I find documentation on global.json? This is the only public documentation I could find:

https://docs.microsoft.com/en-us/dotnet/core/tools/global-json

Unfortunately it doesn't answer the questions I have about the sdk.versions property. In particular:

  • What are the matching rules? Say I put 1.0 but 2.0 is available. Will 2.0 be chosen or will an error occur?
  • Can I put in version ranges?
  • Is there globbing support?

Also of interest is the version of the SDK that comes installed with Visual Studio. Does that version change on every update, preview, etc ... of VS? Worried about how updates to VS will interact with restrictions that I add in this file.

Copied from original issue: dotnet/sdk#1421

edit by @mairaw: added info Docs below


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions