There was an error calling NuGet

Hi Team,

I have updated the octopack version to 3.6.1 in my project and checked in the code and when i am doing the TFS build getting the below error.
Version string specified for package reference ‘1.0.*’ is invalid.
There was an error calling NuGet. Please see the output above for more details.

Error screenshot attached herewith for more details

Isha Sanger.

Hi Isha,

Thanks for getting in touch. It looks like you are explicitly passing a version of 1.0.* to OctoPack.exe. This would be passed in the OctoPackPackageVersion parameter. If you omit that parameter OctoPack will read the version from the assembly that is the primary output of the project, which should get you what you’re after.

Hope that helps.