Open sofam opened 6 years ago
This also seems to be fixed by @DustinCampbell's branch https://github.com/DustinCampbell/omnisharp-roslyn/tree/locate-msbuild
Sort of. I think the difference is simply that it's succeeding to find all of the target frameworks. Also, did you try this on OSX?
@DustinCampbell @rchande I am running OS X, yes.
Sorry, @sofam. I'd meant that question for @rchande.
@rchande : Did you verify on OSX?
Environment data
dotnet --info
output:VS Code version:
C# Extension version:
Steps to reproduce
Using https://github.com/Inumedia/SlackAPI/blob/master/SlackAPI/SlackAPI.NetCore.csproj as a ProjectReference in my own project I get the following error:
However, if I manually change the
<TargetFrameworks>net45;netstandard1.6;netstandard1.3</TargetFrameworks>
to<TargetFrameworks>netstandard1.6;net45;netstandard1.3</TargetFrameworks>
The assemblies load just fine.
Expected behavior
I would expect it to try the next supported framework if the first one fails.
Actual behavior
It fails when it can't load net45.