Hi everyone,
We’re having some issues after an upgrade to 3.2.7
We can build the product successfully, but on deploying to Octopus we see the following errors in the build log.
Any suggestions would be greatly appreciated.
Built $/FullSolutionPath/SNProject/SNProject.csproj for default targets. Cannot add part for the specified URI because it is already in the package.
There was an error calling NuGet. Please see the output above for more details. Command line: ‘Z:\BuildPath\packages\OctoPack.3.0.45\tools\NuGet.exe’ pack “Z:\BuildPath\WebProject\obj\octopacking\WebProject.nuspec” -NoPackageAnalysis -BasePath “Z:\BuildPath\WebProject” -OutputDirectory “Z:\BuildPath\WebProject\obj\octopacked” -Version 1.0.5850.28175
System.Exception: There was an error calling NuGet. Please see the output above for more details. Command line: ‘Z:\BuildPath\packages\OctoPack.3.0.45\tools\NuGet.exe’ pack “Z:\BuildPath\WebProject\obj\octopacking\WebProject.nuspec” -NoPackageAnalysis -BasePath “Z:\BuildPath\WebProject” -OutputDirectory “Z:\BuildPath\WebProject\obj\octopacked” -Version 1.0.5850.28175 at OctoPack.Tasks.CreateOctoPackPackage.RunNuGet(String specFilePath, String octopacking, String octopacked, String projectDirectory) in y:\work\1f6ae101e1fcba62\source\OctoPack.Tasks\CreateOctoPackPackage.cs:line 551 at OctoPack.Tasks.CreateOctoPackPackage.Execute() in y:\work\1f6ae101e1fcba62\source\OctoPack.Tasks\CreateOctoPackPackage.cs:line 196
MSBuild Log File
Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above messages. (type BuildProcessTerminateException)Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)