Mount a local package manager (NuGet)

4

Due to a huge problem that happens here in the company, such as package dependencies, then the company decided to create a private%, which runs locally. The purpose of this is when anyone downloads the source code of our applications, he already misses some NuGet and goes in the DLL directory and already does the installation or suggests installing Nuget . The problem is that I do not even know where to start. Has anyone done this yet?

    
asked by anonymous 14.12.2015 / 17:27

1 answer

4

If you are going to use only internal, I recommend that you create a folder for the packages, do not use a nuget server, we had a lot of problems in the company with this.

  • You should create the packages: the command would be nuget.exe package folder \ project.nuspec -OutputDirectory c: \ nuget \ packages.
  • Copy the generated files to a network directory that everyone has access to.
  • Configure VisualStudio to read this directory. (TOOLS> NuGet Packege Manager> Packege Maneger Settins> Enter Packege Manager> Package Sources at the bottom, enter the name and source, which is the path of your server and click ok)
  • Done, you can now install your packages. Remember that everyone in the company should set up VisualStudio to point to that network folder.
  • 14.12.2015 / 21:34