microsoft / azure-artifacts-migration

Migration scripts to help move your packages to Azure Artifacts from other package repositories.
MIT License
13 stars 18 forks source link

Path to nuget.exe must be explicitly set #8

Open eloekset opened 4 years ago

eloekset commented 4 years ago

Related to #4, I'm getting hundreds of errors when I run the PowerShell module.

I've debugged the script in PowerShell ISE now, and tracked at least one issue down to the path to nuget.exe.

This is the error I get when running the module as is: image

If I modify the script to use a full path to nuget.exe on my environment, the Start-Command succeeds: image

bladeski commented 1 year ago

I had this issue but fixed it by adding the directory containing nuget.exe to my environment variables PATH