Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an alternative for Nuget?

Tags:

nuget

Is it possible to download files for VS 2012 without Nuget and install necessary files to VS 2012?

I do not have an access to the internet on my PC so I find other ways to download necessary items and install this files in VS 2012 without Nuget:). Nevertheless, I would like to have templates in VS 2012 like I have templates as if I would download these items by Nuget.

like image 687
StepUp Avatar asked Jan 27 '13 13:01

StepUp


People also ask

Is npm and NuGet the same?

npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day. On the other hand, NuGet is detailed as "The package manager for . NET".

Is everything on NuGet free?

Not all NuGet packages are free on nuget.org but a lot of them are free. The Aspose. Cells NuGet package has a license agreement that needs to be accepted before it can be installed.

Does .NET core use NuGet?

NET (including . NET Core), the Microsoft-supported mechanism for sharing code is NuGet, which defines how packages for . NET are created, hosted, and consumed, and provides the tools for each of those roles.


1 Answers

If you're able to bring downloaded stuff to your no-internet machine, then you can setup a local nuget feed on that machine:

  1. On the internet-enabled machine, go here and download the Nuget Package explorer.
  2. Fire up this tool once downloaded, then choose "Open package from online feed"
  3. Search for the package you want, and hit ok, the package will open up.
  4. Go to file -> save as -> and choose a location to save the .nupkg file to.
  5. Take whatever .nupkg files you download, and transfer them to a sensible place on your other no-internet machine
  6. In VS, open tools -> library package manager -> package manager settings -> package sources
  7. Type in a new name for your local feed, such as "Local Feed"
  8. Put in the source of the feed, ie the local directory where you placed the .nupkg files
  9. Click the "Add" button

Now when you manage nuget packages, you can select your local feed and add packages from there, exactly as though they were from the web.

like image 169
Greg Smith Avatar answered Oct 14 '22 08:10

Greg Smith