mrward / monodevelop-nuget-extensions

Extends the MonoDevelop NuGet addin
MIT License
72 stars 9 forks source link

Mac: Xamarin Studio 5.10.3 (build 51) Error when opening Package Console Extension window #11

Open CliffCawley opened 8 years ago

CliffCawley commented 8 years ago

I get the following when the the window opens:

Command 'xcopy' not found.
  +CategoryInfo: InvalidOperation, Reason: CommandNotFoundException
  +FullyQualifiedErrorId: PackageManagementInternalError
Command 'xcopy' not found.
  +CategoryInfo: InvalidOperation, Reason: CommandNotFoundException
  +FullyQualifiedErrorId: PackageManagementInternalError
Command 'xcopy' not found.
  +CategoryInfo: InvalidOperation, Reason: CommandNotFoundException
  +FullyQualifiedErrorId: PackageManagementInternalError
Command 'xcopy' not found.
  +CategoryInfo: InvalidOperation, Reason: CommandNotFoundException
  +FullyQualifiedErrorId: PackageManagementInternalError
Command 'xcopy' not found.
  +CategoryInfo: InvalidOperation, Reason: CommandNotFoundException

  +FullyQualifiedErrorId: PackageManagementInternalError

And then if I try to run a command such as

Install-Package KeenClient

It then says

Invalid URI: The URI scheme is not valid.

Have I missed a setup step somewhere? Your screenshots are all from Windows, so I suppose this addin might only work on Windows. It doesn't explicitly state that in the readme though.

mrward commented 8 years ago

The addin works on all platforms, not just Windows.

Not sure where the xcopy command is being run from. It is not something the NuGet extensions addin will run itself. Do one of your NuGet packages have an init.ps1 file? I would guess that an init.ps1 is being run and it is running the xcopy command.

What url are you using as the package source? Does it work with the built-in Add Packages dialog? If you run the following command after attempting the install what does the callstack look like?

$error[0].Exception.StackTrace