-
Notifications
You must be signed in to change notification settings - Fork 420
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
Fix 1.26.1 bugs #1016
Fix 1.26.1 bugs #1016
Conversation
…sage for Linux users Fixes OmniSharp#1011
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
// Simple check to see if this is Windows | ||
var platformId = (int)Environment.OSVersion.Platform; | ||
if (platformId <= 3 || platformId == 5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a comment explaining where this knowledge came from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to remember where it came from. This is derived from scripts/platform.cake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right. It was this:
Member | Underlying value |
---|---|
Win32S | 0 |
Win32Windows | 1 |
Win32NT | 2 |
WinCE | 3 |
Unix | 4 |
Xbox | 5 |
MacOSX | 6 |
Will add a comment
cc @akshita31 and @TheRealPiotrP |
Fixes #1011
Fixes #1014
This PR addresses a couple of MSBuild discovery issues:
Microsoft.Build.dll
is missing. This can happen on Linux layouts of Mono when the user hasn't installed themsbuild
package yet.