You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: '/' is invalid after a value. Expected either ',', '}', or ']'. Path: $.sdk | LineNumber: 2 | BytePositionInLine: 8.
Not a very clear error, took me a while to figure out what's wrong.
dotnet itself can handle such global.json btw. But even if it was completely malformed, I'm not sure why dotnetup should be reading global.json from the current directory in the first place.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Create global.json like the following:
{ "sdk": { // "version": "10.0.100" } }Run
dotnetupon WSL.Observe:
Not a very clear error, took me a while to figure out what's wrong.
dotnetitself can handle suchglobal.jsonbtw. But even if it was completely malformed, I'm not sure whydotnetupshould be readingglobal.jsonfrom the current directory in the first place.All reactions