I was getting the same error as:
I tried with the feed in the following formats from the Page URLS from myget:
https://www.myget.org/feed/webkit/package/nuget/feedname.Web
and
https://www.myget.org/feed/Packages/feedname
But neither of those worked.
What you need to do is instead navigate to ‘Feed Details’ in myget and find the line with:
‘Your NuGet packages feed URL (with authentication)’
And copy that URL which is in the format;
https://www.myget.org/F/packagename/api/v2
I think Octopus should update their documentation to reflect this:
Also, gotchas in Octopack:
If your project has a space in the solution/project name then the build will fail.
The only solution to this is to create a .nuspec file manually and add to the root of the project.
I think Octopack should be changed to strip out spaces for project names
And another gotha in Octopack:
by default if you build in Visual Studio Online it won’t include Octopack
Instead you have to go to:
C:\Users…\Documents\ProjectName\packages\OctoPack.3.0.42\tools\OctoPack.targets
Edit that file and change:
false
to
true
Again I think this page should be updated to reflect these requirements: