OctoPack Error in TFS Build

I am using Visual Studio Online with Visual Studio 2013. Build failed with

You are trying to build with OctoPack, but the NuGet targets file that OctoPack depends on is not available on this computer. This is probably because the OctoPack package has not been committed to source control, or NuGet Package Restore is not enabled

According to this link https://octopusdeploy.com/blog/octopack-3.0 I need to make some changes to restore the package fix, but another link in the previous one says that no configuration is required when using VS2013 and Visual Studio Online Nuget.org

When I create VS, all packages are first restored, and then the project is created. Also, if I build a project and invoke Octopack through the command line, everything will be fine. Thoughts?

+4
source share
3 answers

NuGet Package Restore , . , , OctoPack.targets, - , , . - Update-Package -Reinstall Octopack.

+3

NuGet Package Restore , NuGet . OctoPack - NuGet , . NuGet, OctoPack.

/p:OctoPackNuGetExePath=<path>\nuget.exe
+2

Octopack.

\ \OctoPack.2.0.26\\OctoPack.targets

+2

Source: https://habr.com/ru/post/1548217/


All Articles