Closed
Description
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.
- ID: a94c335b-0b65-96cc-1c25-65777fbe4bb5
- Version Independent ID: 6d80613f-42dc-35d7-aeff-3187a36dbbca
- Content: global.json reference
- Content Source: docs/core/tools/global-json.md
- Service: unspecified
- Product: dotnet-core
- GitHub Login: @blackdwarf
- Microsoft Alias: mairaw