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 #12

Closed
jrieken opened this issue Jan 21, 2016 · 2 comments
Closed

Omnisharp ignores runtime and architecture in global.json #12

jrieken opened this issue Jan 21, 2016 · 2 comments

Comments

@jrieken
Copy link
Contributor

jrieken commented Jan 21, 2016

From @mdotasia on January 20, 2016 20:38

I have a variation of microsoft/vscode#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?

Copied from original issue: microsoft/vscode#2132

@DustinCampbell
Copy link
Member

I believe this bug should really be in omnisharp-roslyn

@DustinCampbell
Copy link
Member

This really isn't relevant any longer now that DNX is no more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants