Hi Team,
We are getting error while teamcity creates octopack in the teamcity.
Please find below log
[CreateOctoPackPackage] error OCTONUGET: Target path 'C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Graph\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Graph.dll' contains invalid characters.
[09:57:01][CreateOctoPackPackage] error OCTONUGET: Target path 'C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.PowerPoint\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.PowerPoint.dll' contains invalid characters.
[09:57:01][CreateOctoPackPackage] error OCTONUGET: Target path 'C:\Windows\assembly\GAC_MSIL\Microsoft.Vbe.Interop\15.0.0.0__71e9bce111e9429c\Microsoft.Vbe.Interop.dll' contains invalid characters.
[09:57:01][CreateOctoPackPackage] error OCT-1805672349: There was an error calling NuGet. Please see the output above for more details. Command line: 'E:\ProjectBuildDirectory\91b27f9720f85ff2\packages\OctoPack.3.0.33\tools\NuGet.exe' pack "E:\ProjectBuildDirectory\91b27f9720f85ff2\PackageName\obj\octopacking\PackageName.nuspec" -NoPackageAnalysis -BasePath "E:\ProjectBuildDirectory\91b27f9720f85ff2\PackageName" -OutputDirectory "E:\ProjectBuildDirectory\91b27f9720f85ff2\PackageName" -Version 5.0.2302
[09:57:01]
[CreateOctoPackPackage] error OCT-1805672349: System.Exception: There was an error calling NuGet. Please see the output above for more details. Command line: 'E:\ProjectBuildDirectory\91b27f9720f85ff2\packages\OctoPack.3.0.33\tools\NuGet.exe' pack "E:\ProjectBuildDirectory\91b27f9720f85ff2\PackageName\obj\octopacking\PackageName.nuspec" -NoPackageAnalysis -BasePath "E:\ProjectBuildDirectory\91b27f9720f85ff2\PackageName" -OutputDirectory "E:\ProjectBuildDirectory\91b27f9720f85ff2\PackageName" -Version 5.0.2302
at OctoPack.Tasks.CreateOctoPackPackage.RunNuGet(String specFilePath, String octopacking, String octopacked, String projectDirectory) in y:\work\46cfb6001f03d701\source\OctoPack.Tasks\CreateOctoPackPackage.cs:line 538
at OctoPack.Tasks.CreateOctoPackPackage.Execute() in y:\work\46cfb6001f03d701\source\OctoPack.Tasks\CreateOctoPackPackage.cs:line 195
Can you please check this why this error happening?
Regards,
Shyam