When I try to run the .NET Core Project on last version of Visual Studio Preview for Mac, I get next error:
The specified framework 'Microsoft.NETCore.App', version '1.0.1' was not found.
- Check application dependencies and target a framework version installed at:
/usr/local/share/dotnet/shared/Microsoft.NETCore.App
- The following versions are installed:
1.1.0
- Alternatively, install the framework version '1.0.1'.
The application was terminated by a signal: SIGQUIT
WARNING: The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use Microsoft.NETCore.App 1.0.0 or newer. This may be expected if the target process did not run .NET code.
I opened Project Settings, and in the 'Target Framework' Dropdown there is no .NETCoreApp 1.1, only 1.0 (which is not installed)
What should I change in project or Studio configs for project to run successfully? Or I just must wait for VS update? Thanks for response.
Update your nuget packages i.e Project -> Update Nuget Packages. The Microsoft.NetCore.App package is out of date.
Step 1: setup .net Core
--> https://www.microsoft.com/net/core#macos
--> if you get donet new
command not found, try this: ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/
Step 2: update packages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With