mrward / monodevelop-nuget-extensions

Extends the MonoDevelop NuGet addin
MIT License
72 stars 9 forks source link

Detect .NET Core runtime is not installed #37

Closed mrward closed 3 years ago

mrward commented 4 years ago

With .NET Core 3.1 SDK installed the NuGet Package Manager Console window shows an error:

Disconnected from remote PowerShell host. Reason: Disposed: Reached end of stream.
Write fault on path /[Unknown]
Disconnected from remote PowerShell host. Reason: Disposed: Reached end of stream.
NuGet 5.4.0.3
Unable to restart PowerShell host
Unable to restart PowerShell host
Type 'get-help NuGet' for more information.

Unable to restart PowerShell host
PM> 
Unable to restart PowerShell host
PM> 
Unable to restart PowerShell host
PM> 
Unable to restart PowerShell host
PM> 

The IDE log indicates that the problem is that:

It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
  - The following frameworks were found:
      3.1.2 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=osx.10.15-x64