Trying to use OctoPack (latest from Nuget) to package an asp.net web application. Using msbuild, I get the following error:
\xxx\packages\OctoPack.3.0.65\tools\OctoPack.targets(46,5): error MSB4018: The “GetAssemblyVersionInfo” task failed unexpectedly.\r [xxx\Apps\ServiceMinder.Geo\ServiceMinder.Geo.csproj]
xxx\packages\OctoPack.3.0.65\tools\OctoPack.targets(46,5): error MSB4018: System.BadImageFormatException: Could not load file or assembly ‘file:///xxx\Apps\ServiceMinder.Geo\bin\ServiceMinder.Geo.dll’ or one of its dependencies. An attempt was made to load a program with an incorrect format.\r [xxx\Apps\ServiceMinder.Geo\ServiceMinder.Geo.csproj]
There is a DLL there and I can right click and see version info… Also, the app runs local fine.