I just brought down OctoPack 3.0.27 via https://www.nuget.org/packages/OctoPack.
Some initial info:
- Our .csproj that we’re applying OctoPack to is .NET 4.5 based
- Our Team City Host did not have .NET 4.5 installed yet so I installed .NET 4.5.1 for VS 2013. I think in the Team City Configuration for our build, we’re targeting VS 2012. But I am assuming installing 4.5.1 should still be ok. Here’s that install that I applied to our server running Team City:
I applied (nuget) it to one of our .csproj.
Our Packages folder in the solution definitely contains OctoPack 3.0.27
When TeamCity tries to build our solution we get:
[OctoPack] D:\TC\Wrk\744339ab04d5767d\Folder1\Web\Folder2\packages\OctoPack.3.0.27\tools\OctoPack.targets(41, 5):
error MSB4062: The “OctoPack.Tasks.GetAssemblyVersionInfo” task could not be loaded from the assembly D:\TC\Wrk\744339ab04d5767d\Folder1\Web\Folder2\packages\OctoPack.3.0.27\tools\OctoPack.Tasks.dll.
Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.