我正在将一个小型 MVC 应用程序推送到 AppHarbor,它启用了包还原。
它在我的本地机器上构建良好,但在从 github 拉出后构建它时失败。
这些是日志中的相关部分:
2>D:\temp\0gqraufl.b33\input\ISC-Devicemanagement\ISC-Devicemanagement.csproj(364,5): error : The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568.
2>Done Building Project "D:\temp\0gqraufl.b33\input\ISC-Devicemanagement\ISC-Devicemanagement.csproj" (default targets) -- FAILED.
1>Done Building Project "D:\temp\0gqraufl.b33\input\ISC-Devicemanagement.sln" (default targets) -- FAILED.
Build FAILED.
"D:\temp\0gqraufl.b33\input\ISC-Devicemanagement.sln" (default target) (1) ->
"D:\temp\0gqraufl.b33\input\ISC-Devicemanagement\ISC-Devicemanagement.csproj" (default target) (2) ->
(EnsureBclBuildImported target) ->
D:\temp\0gqraufl.b33\input\ISC-Devicemanagement\ISC-Devicemanagement.csproj(364,5): error : The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:14.97
在谷歌上搜索这个,把我带到了 AH 的支持网站,这表明错误应该在最新版本的 NuGet 中解决,但事实并非如此,我仍然不知道如何手动解决这个问题。
我必须在这里做什么才能找到问题的核心?