Visual Studio 2017构建解决方案失败

时间:2018-06-05 00:32:18

标签: visual-studio visual-studio-2017

VS 2017中

Build Solution失败:

尝试了以下内容:

  1. 重建项目
  2. 重新安装Nuget包
  3. 重新安装VS 2017
  4. 仍然遇到同样的错误。

    The "GetReferenceNearestTargetFrameworkTask" task was not found. Check the following: 
    1.) The name of the task in the project file is the same as the name of the task class. 
    2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 
    3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin" directory. 
    

0 个答案:

没有答案