Nuget Package creation fails

C:\a\src\KOCMembersAPIBuild.octopack\OctoPack.targets(122,5): error MSB3073: The command ““C:\a\src\KOCMembersAPIBuild\KOCMembersAPI.WebRole…nuget\NuGet.exe” pack “C:\a\bin_PublishedWebsites\KOCMembersAPI.WebRole\KOCMembersAPI.WebRole.nuspec” -OutputDirectory “bin” -basePath “C:\a\bin_PublishedWebsites\KOCMembersAPI.WebRole” -Version “” -NoPackageAnalysis” exited with code 1. [C:\a\src\KOCMembersAPIBuild\KOCMembersAPI.WebRole\KOCMembersAPI.WebRole.csproj]

I am using the

my nuspec file looks like

<?xml version="1.0"?> KOCMembersAPI.WebRole Web API 1.0.0 false This release contains the following changes...

Found the problem. Run the exe from cmd window to know the error, In my case the license url was missing.

This can be closed