-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
global.json documentation #2902
Comments
From @jaredpar on July 18, 2017 18:35 |
From @livarcocc on July 18, 2017 23:40 @mairaw can we work on documentation for this? We changed the policy in 2.0, it would be good to do an all up write up on this file. |
From @jaredpar on July 19, 2017 15:7 @livarcocc can we get the details posted here while waiting for doc? Need to understand how this works before we can adopt in our repos. |
From @mairaw on August 12, 2017 7:21 Sorry, I missed this mention earlier. Yes, we can improve the docs. Doc issues can be filed at https://github.com/dotnet/docs/issues. Can I have more info on what needs to be done @livarcocc @nguerrera? I don't know what the change was or the answer to @jaredpar's questions, unfortunately. Should we move this to our repo? |
Prior to In 2.0, the rules are described in this PR's description: dotnet/core-setup#2621. However, in the desktop
No
No
Yes, it does change. |
Tagging @johnbeisner. |
I'm working on this right now. One behavior I've observed is that if I specify a patch version that is greater than the latest installed version, latest is used. e.g. if I specify 2.1.4 and the latest version I have is 2.1.300-preview1-008174, latest is used (something like roll backward along patch). By design? /cc @KathleenDollard |
@mairaw That sounds like this issue: https://github.com/dotnet/core-setup/issues/3805 |
That's correct @dsplaisted! |
I've read the info @nguerrera about the VS/MSBuild case and it's not super clear to me what happens when with the multiple possible combinations (VS versions earlier than 15.3 and later, SDK 1.1, SDK 2.0, etc.) Can someone please summarize that please? |
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: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.
The text was updated successfully, but these errors were encountered: