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
It's registering and using an old version of Visual Studio Enterprise 2017 instead of the new .omnisharp\msbuild\15.0\Bin path.
I'm not using and updating Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin path anymore.
The text was updated successfully, but these errors were encountered:
Hi, the issue here is that you are running VS 2017 RTM. OmniSharp will try to use VS 2017 if possible, because that will provide a better experience than it's fallback MSBuild. However, VS 2017 RTM in particular has some issues.
We have a fix for this in OmniSharp, but it will be a couple of days that makes its way into C# for VS Code. For now there are few workarounds you can use in recommended order.
Update VS 2017 - this is generally worthwhile anyway as there have been 4 updates since RTM.
Download and use a version of OmniSharp with the a fix that will cause OmniSharp not to use VS 2017 RTM. You can follow the instructions here to do that.
Install the last release of C# for VS Code (1.12.1) and change the "extensions.autoUpdate" to false.
I've just pushed a new release that should help address this issue: 1.13.1. We'll be pushing this to marketplace sometime today. However, if you want to try it out, you can follow the instructions here to install it.
Environment data
Steps to reproduce
After opening an existing solution or creating a new one, I get lots of errors such as
Predefined type 'System.Void' is not defined or imported
.The reason for that is:
It's registering and using an old version of
Visual Studio Enterprise 2017
instead of the new.omnisharp\msbuild\15.0\Bin
path.I'm not using and updating
Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin
path anymore.The text was updated successfully, but these errors were encountered: