Hi there,
I’m having a issue when trying to deploy.
Can you help check what should I do to make it work.
Below is the error message:
“C:\Users\shu\Documents\LocalGit\Canvas\BigProject.CanvasLite.sln” (build target) (1) ->
“C:\Users\shu\Documents\LocalGit\Canvas\src\BigProject.CanvasLite.Web\BigProject.CanvasLite.Web.csproj” (default target
) (3) ->
(OctoPack target) ->
MSBUILD : OctoPack error OCTONUGET: Version string specified for package reference ‘3.1.21.0-000000’ is invalid. [C:
Users\shu\Documents\LocalGit\Canvas\src\BigProject.CanvasLite.Web\BigProject.CanvasLite.Web.csproj]
MSBUILD : OctoPack error OCT-1805672349: There was an error calling NuGet. Please see the output above for more detai
ls. Command line: ‘C:\Users\shu\Documents\LocalGit\Canvas\packages\OctoPack.3.4.4\tools\NuGet.exe’ pack “C:\Users\shu\D
ocuments\LocalGit\Canvas\src\BigProject.CanvasLite.Web\obj\octopacking\BigProject.CanvasLite.Web.nuspec” -NoPackageAna
lysis -BasePath “C:\Users\shu\Documents\LocalGit\Canvas\src\BigProject.CanvasLite.Web” -OutputDirectory “C:\Users\shu\D
ocuments\LocalGit\Canvas\src\BigProject.CanvasLite.Web\obj\octopacked” -Version 3.1.21.0-000000 [C:\Users\shu\Documents
\LocalGit\Canvas\src\BigProject.CanvasLite.Web\BigProject.CanvasLite.Web.csproj]
MSBUILD : OctoPack error OCT-1805672349: System.Exception: There was an error calling NuGet. Please see the output ab
ove for more details. Command line: ‘C:\Users\shu\Documents\LocalGit\Canvas\packages\OctoPack.3.4.4\tools\NuGet.exe’ pa
ck “C:\Users\shu\Documents\LocalGit\Canvas\src\BigProject.CanvasLite.Web\obj\octopacking\BigProject.CanvasLite.Web.nusp
ec” -NoPackageAnalysis -BasePath “C:\Users\shu\Documents\LocalGit\Canvas\src\BigProject.CanvasLite.Web” -OutputDirecto
ry “C:\Users\shu\Documents\LocalGit\Canvas\src\BigProject.CanvasLite.Web\obj\octopacked” -Version 3.1.21.0-000000\r [C:
\Users\shu\Documents\LocalGit\Canvas\src\BigProject.CanvasLite.Web\BigProject.CanvasLite.Web.csproj]
MSBUILD : OctoPack error OCT-1805672349: at OctoPack.Tasks.CreateOctoPackPackage.RunNuGet(String specFilePath, Strin
g octopacking, String octopacked, String projectDirectory) in Z:\buildAgent\workDir\20ba9f2e0d5e4022\source\OctoPack.Ta
sks\CreateOctoPackPackage.cs:line 619\r [C:\Users\shu\Documents\LocalGit\Canvas\src\BigProject.CanvasLite.Web\BigProjec
t.CanvasLite.Web.csproj]
MSBUILD : OctoPack error OCT-1805672349: at OctoPack.Tasks.CreateOctoPackPackage.Execute() in Z:\buildAgent\workDir
20ba9f2e0d5e4022\source\OctoPack.Tasks\CreateOctoPackPackage.cs:line 202 [C:\Users\shu\Documents\LocalGit\Canvas\src\Bi
gProject.CanvasLite.Web\BigProject.CanvasLite.Web.csproj]
Thanks,
Sherry