.NET Core 2.0 missing from my Visual Studio -
so i've installed official .net core 2.0 sdk , when i'm in visual studio heaps of errors , target framework not listed :(
it's .net core 2.0 isn't installed.
and here's .csproj
file:
<project sdk="microsoft.net.sdk.web"> <propertygroup> <targetframework>netcoreapp2.0</targetframework> </propertygroup> <itemgroup> <folder include="wwwroot\" /> </itemgroup> <itemgroup> <packagereference include="microsoft.aspnetcore.all" version="2.0.0" /> </itemgroup> </project>
also, dotnet --version
returns 2.0.0
so .. there install tooling i'm missing?
edit/update:
here's system info vs:
microsoft visual studio community 2017 version 15.3.1 visualstudio.15.release/15.3.1+26730.8 microsoft .net framework version 4.7.02046 installed version: community visual basic 2017 00369-60000-00001-aa912 microsoft visual basic 2017 visual c# 2017 00369-60000-00001-aa912 microsoft visual c# 2017 application insights tools visual studio package 8.8.00712.1 application insights tools visual studio asp.net , web tools 2017 15.0.30726.0 asp.net , web tools 2017 asp.net core razor language services 1.0 provides languages services asp.net core razor. asp.net template engine 2017 15.0.30726.0 asp.net template engine 2017 asp.net web frameworks , tools 2017 5.2.50601.0 additional information, visit https://www.asp.net/ azure app service tools v3.0.0 15.0.30728.0 azure app service tools v3.0.0 ... rest snipped.
ah!
i had following global.json
in root of solution:
{ "projects": [ "src", "tests" ], "sdk": { "version": "1.0.4" } }
so had change version 1.0.4
2.0.0
, close/re-open solution.
problem solved :)
Comments
Post a Comment