I created new asp.net core web api project and updated to 1.1. I am getting following errors:
The project has not been restored or restore failed - run
dotnet restore
WebApplication1 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.TargetsThe project does not list one of 'win10-x64, win81-x64, win8-x64, win7-x64' in the 'runtimes' section.
You may be trying to publish a library, which is not supported. Use
dotnet pack
to distribute libraries.
Can not find runtime target for framework '.NETCoreApp,Version=v1.0' compatible with one of the target runtimes: 'win10-x64, win81-x64, win8-x64, win7-x64'. Possible causes: WebApplication1 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets 262
Please advice!
globals.json
(from solution root),project.json
, list of subdirectories underC:\Program Files\dotnet\sdk
– Midgett