OldSquirrelForWindows icon indicating copy to clipboard operation
OldSquirrelForWindows copied to clipboard

Various problems using nuget

Open stefanolson opened this issue 10 years ago • 7 comments

I'm trying to install the nuget package into my application. Unfortunately the documentation here is not particularly clear on what to do: https://github.com/squirrel/Squirrel.Windows/wiki/QuickStart

It says do this: •Install-Package Squirrel -Project TestApp

To which the package manager says: Install-Package : Unable to find package 'Squirrel'. At line:1 char:1

  • Install-Package Squirrel -Project UserManager
  • - CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    - FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
    
    

so I try using the much easier nuget UI, and I find three different squirrel packages. So I installed the client one, expecting to find the nuspec file described in the previously mentioned documentation, but can't see that, so I then try and install the Squirrel.WiXUiClient, not being in any way sure what the difference between the two is :-) anyway, the second one won't install: "Updating 'Rx-Main 2.1.30214.0' to 'Rx-Main 2.0.21030' failed. Unable to find versions of 'Squirrel.Core, Squirrel.Client' that are compatible with 'Rx-Main 2.0.21030'." So I can't install that one.

Which package do I actually need to install?

stefanolson avatar Nov 13 '13 23:11 stefanolson

This should be Install-Package Squirrel.Windows -Project UserManager. Somebody claimed our NuGet package name and is sitting on it

anaisbetts avatar Nov 13 '13 23:11 anaisbetts

Now get (vs 2013 .net 4.5 project): Install-Package : Unable to find package 'Squirrel.Windows'. At line:1 char:1

  • Install-Package Squirrel.Windows -Project UserManager
  • - CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    - FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
    

stefanolson avatar Nov 13 '13 23:11 stefanolson

Install-Package Shimmer -Project UserManager works but is 0.7.4

stefanolson avatar Nov 14 '13 01:11 stefanolson

@stefanolson @paulcbetts I have a different avenue to raise the package name issue, I'll pick this up tomorrow

@stefanolson stick to Shimmer for the moment, a future update will switch you over to Squirrel once we have our ducks all lined up. Apologies for the delays.

shiftkey avatar Nov 14 '13 01:11 shiftkey

@shiftkey Thanks

stefanolson avatar Nov 14 '13 02:11 stefanolson

@stefanolson I had the same trouble, and wrote down what I had to do to get Squirrel working; it might help with some of the problems you're experiencing.

bgrainger avatar Nov 14 '13 04:11 bgrainger

@bgrainger Thanks Bradley, that helped point me in the right direction.

stefanolson avatar Nov 15 '13 19:11 stefanolson