Kısa bir süredir Visual Studio Mac kullanıyordum ve yeni sürümü piyasaya sürdüm. Ben oluşturmak ve kabuk o projeyi çalıştırabilirsinizVisual Studio Mac dotnet core 2
dotnet2 davec$ dotnet --version
2.0.0-preview1-005977
dotnet2 davec$ dotnet new webapi
The template "ASP.NET Core Web API" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/template-3pn for details.
Processing post-creation actions...
Running 'dotnet restore' on dotnet2/dotnet2.csproj...
Restore succeeded.
: Ben de yeni bir Web API projesi üretebilir bir kabuk isteminde NET Çekirdek 2.0 Önizleme 1. indirip yükledim. Ben Mac, IDE denemeden için Visual Studio açmak ve başarısız olduğunda Ama geri:
Errors in dotnet2/dotnet2.csproj
Unable to resolve 'Microsoft.NETCore.App (>= 2.0.0)' for '.NETCoreApp,Version=v2.0'.
Unable to resolve 'Microsoft.NETCore.App (>= 2.0.0)' for '.NETCoreApp,Version=v2.0 (win)'.
Unable to resolve 'Microsoft.NETCore.App (>= 2.0.0)' for '.NETCoreApp,Version=v2.0 (win-x64)'.
Unable to resolve 'Microsoft.NETCore.App (>= 2.0.0)' for '.NETCoreApp,Version=v2.0 (win-x86)'.
NuGet Config files used:
~/.config/NuGet/NuGet.Config
Feeds used:
https://api.nuget.org/v3/index.json
Restore failed for 'Microsoft.NETCore.App (>= 2.0.0)'.
Restore failed.
https://gist.github.com/mrward/70b8132003ef77d893111ecbea3e2225#net-core-app-20-project – jmoerdyk
Teşekkürler 'RuntimeFrameworkVersion' benim için sorunu çözdü. –