尝试启动应用程序.net时收到错误消息

时间:2017-08-18 14:21:46

标签: .net .net-core

我是.NET的新手,我正在尝试运行dotnet但是我收到以下错误消息:

The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found.

在我的.csproj文件中,我定位<TargetFramework>netcoreapp1.1</TargetFramework>和包引用:

<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netcoreapp1.1</TargetFramework>
    <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
    <IsPackable>false</IsPackable>
  </PropertyGroup>


  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore" Version="1.1.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.SpaServices" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" />
  </ItemGroup>

0 个答案:

没有答案