通过 Nuget Packge 管理器添加 SFML.NET 后,出现以下错误:
Error 4 The "UnzipNuspec" 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:\Windows\Microsoft.NET\Framework\v4.0.30319" directory.
我正在使用 Visual Studio 2012。
正如在其他类似问题中指出的那样,我尝试关闭并打开 MSVS,但没有帮助。我还检查了注册表中的构建工具路径,它指向正确的目录。我试图安装和卸载 Nuget 包。
我发现该错误可能以某种方式与其依赖项有关:Baseclass.Contrib.Nuget.Output,但我不知道如何修复它。