OctoPack issues

I’m having an issue with OctoPack all of the sudden. I was running 2.0.26 and I have upgraded to 3.0.19 and I’m still getting this error:

errorMSB4062: The “OctoPack.Tasks.GetAssemblyVersionInfo” task could not be loaded from the assembly c:\dev\iss4\modules\trunk\packages\OctoPack.3.0.19\tools\OctoPack.Tasks.dll. Confirm that the <UsingTask> 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.

Any ideas?

Hi Lynn,

Can you check that the latest OctoPack.Tasks.dll is checked into source control (if using that option)? It sounds like the .targets file has been updated but the assembly hasn’t.

Paul

Also, can you tell me:

  • What version of Visual Studio you are using
  • What .NET framework your project is targeting
  • If you open up the .csproj in a text editor, are there multiple targets for OctoPack (is it possible the old OctoPack hasn’t been removed?)

Paul

OctoPack.Tasks.dll is checked in.
VS 2013
.NET 4.5
There was an old version (1.0.9 or 2.0.x) in almost every one of the project files…

Getting that cleaned up seems to have solved the issue.
Thanks

Lynn