Closed Danl2620 closed 6 years ago
It's known dotnet
CLI bug, the workaround is setting FrameworkPathOverride
variable on the machine as described here - https://github.com/dotnet/netcorecli-fsc/wiki/.NET-Core-SDK-1.0.1#using-net-framework-as-targets-framework-the-osxunix-build-fails. After setting the variable remove obj
dir and then run dotnet restore
again.
@Krzysztof-Cieslak is FrameworkPathOverride
worth exposing as a variable or setting for ionide? And/Or should it be documented to put in your .bashrc
or .bash_profile
?
On macOS, after upgrading to the latest Visual Studio and converting my project files to use the
Microsoft.NET.Sdk
project build system and targetingnet45
Framework, I get this error from Ionide (also from usingdotnet build
but not frommsbuild
)