Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CliffCawley opened this issue May 15, 2016 · 1 comment

Comments

@CliffCawley
Copy link

CliffCawley commented May 15, 2016

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
Copy link
Owner

mrward commented May 16, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants