Skip to content
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

Omnisharp ignores runtime and architecture in global.json #2132

Closed
maiertech opened this issue Jan 20, 2016 · 1 comment
Closed

Omnisharp ignores runtime and architecture in global.json #2132

maiertech opened this issue Jan 20, 2016 · 1 comment
Assignees

Comments

@maiertech
Copy link

I have a variation of #126. I'm running VSCode 0.10.6 on Win 7 x64. My global.json:

{
  "sources": ["src", "test"],  
  "sdk": {
        "version": "1.0.0-rc1-update1",
        "runtime": "coreclr",
        "architecture": "x64"
  }
}

and dnvm list shows

Active Version           Runtime Architecture OperatingSystem Alias
------ -------           ------- ------------ --------------- -----
       1.0.0-rc1-update1 clr     x64          win             clr
  *    1.0.0-rc1-update1 coreclr x64          win             coreclr, default

When I start VS Code I see this in the Omnisharp log:

[INFORMATION:OmniSharp.Dnx.DnxPaths] Looking for sdk version in 'c:\Users\blabla\Development\oslo-group\global.json'.
[ERROR:OmniSharp.Dnx.DnxPaths] The specified runtime path '1.0.0-rc1-update1' does not exist. Searched locations C:\Users\blabla\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1
C:\Users\blabla\.dnx\runtimes\kre-clr-win-x86.1.0.0-rc1-update1

Apparently it searches for runtime clr and x86, which of course is not installed on my system.

Any ideas how to fix this?

@jrieken
Copy link
Member

jrieken commented Jan 21, 2016

This issue was moved to dotnet/vscode-csharp#12

@jrieken jrieken closed this as completed Jan 21, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants