Build your own NuGet server and nuget

Source: Internet
Author: User

Build your own NuGet server and nuget

Preface:It is much easier to manage NuGet references, especially when it comes to teamwork. However, during the use process, it is found that the process of restoring the package remotely is simply a thank-you. No way, I had to create an NuGet server myself.

--------------- I am a split line ------------

Start with the question:

1. Deploy NugetServer

1. Create an empty web Project (here, 4.6 is selected for the. NET Framework version because the latest stable version 3.0.0 of the next NuGet. Server package depends on. NET Framework 4.6)

2. Add the NuGet. Server package for the project

3. Publish the website to IIS on the server. When you access the website, you will see the following content, indicating that the deployment is successful.

Note: The first address is the package source address, which is required when vs is configured. The second address is used to upload the package. For details about the tutorial, refer to other blogs. There are many methods. Pay attention to this, if you do not want to use APIKey, you can set it to false in the configuration file.

2. Configure the NuGet Reference Path in vs (tool --> Option --> NuGet package manager --> package source)

In this way, you can switch to your server after downloading the package.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.