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 looks for default alias runtime #415

Open
cataquil opened this issue Jul 5, 2015 · 6 comments
Open

omnisharp looks for default alias runtime #415

cataquil opened this issue Jul 5, 2015 · 6 comments

Comments

@cataquil
Copy link

cataquil commented Jul 5, 2015

Installed Atom from site.
Installed omnisharp-atom from package install in atom
(apt works find, no need for choco install)

ran powershell script from asp.net/home
dnvm install 1.0.0-beta
dnvm alias 1.0.0-beta4 default

roslyn global.json had 1.0.0-beta4 specified, but still omnisharp-atom looks for default

the persistent switch on 'dnvm use' didn't work

This was on windows 8, yeah probably use vs2015 but this is interesting anyhow.
So perhaps this could be in the docs for other folks.

@nosami
Copy link
Contributor

nosami commented Jul 10, 2015

The default runtime is used by omnisharp itself. Any runtime can be used by your code.

@david-driscoll
Copy link
Member

Odd, I thought we booted off of our own runtime (the one packaged with the server) or is this some other runtime?

@cataquil
Copy link
Author

I installed dnvm as per instructions. No default was set. It will be helpful for other newbies to add an instruction to setup a default alias

@david-driscoll
Copy link
Member

@nosami shouldn't the sdk.runtime override this?

"sdk": {
    "version": "1.0.0-beta5"
}

Wonder if we can update omnisharp-roslyn to try the first remaining framework if it can't find the default alias?

@nosami
Copy link
Contributor

nosami commented Jul 11, 2015

The default alias is the one used to power omnisharp itself, not the
application being developed. It's by design, the same way that VS works.

On Sat, Jul 11, 2015 at 9:13 PM, David Driscoll notifications@github.com
wrote:

@nosami https://github.com/nosami shouldn't the sdk.runtime override
this?

"sdk": {
"version": "1.0.0-beta5"
}

Wonder if we can update omnisharp-roslyn to try the first remaining
framework if it can't find the default alias?


Reply to this email directly or view it on GitHub
#415 (comment)
.

@david-driscoll
Copy link
Member

Okay cool.

There is a configuration for it, we just need to expose that.

On Sat, Jul 11, 2015 at 6:06 PM, Jason Imison notifications@github.com
wrote:

The default alias is the one used to power omnisharp itself, not the
application being developed. It's by design, the same way that VS works.

On Sat, Jul 11, 2015 at 9:13 PM, David Driscoll notifications@github.com
wrote:

@nosami https://github.com/nosami shouldn't the sdk.runtime override
this?

"sdk": {
"version": "1.0.0-beta5"
}

Wonder if we can update omnisharp-roslyn to try the first remaining
framework if it can't find the default alias?


Reply to this email directly or view it on GitHub
<
#415 (comment)

.


Reply to this email directly or view it on GitHub
#415 (comment)
.

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

No branches or pull requests

3 participants