Can I publish a private NuGet package?

前端 未结 4 1966
误落风尘
误落风尘 2020-12-12 13:04

I have an assembly that I have made which is very specific to my team at my company. I want to be able to use NuGet to make this assembly avaiable to other projects that my

相关标签:
4条回答
  • 2020-12-12 13:16

    Another option for hosting your own NuGet server is to use JetBrains TeamCity as a build server. The setup is described here.

    The Team City server acts as a NuGet repository that would/could/should only be accessible within your company.

    Based on your usage, there are free versions of the software.

    It has some nice options such as the ability to publish a new NuGet version on demand, with each new continuous integration build, etc. One of the most useful bits (as with all NuGet server implementations) is that it will keep dozens of older versions of your assemblies so if you have one project that needs to reference the newest version, and another project that needs to reference an older version, everything will work out.

    0 讨论(0)
  • 2020-12-12 13:20

    Check out the ProGet free edition; we built it exactly for this purpose. It takes much less time to setup and offers many features above and beyond those offered by the standard NuGet server, such as multiple feeds, feed aggregation, and additional repository types (npm, Bower, etc.)

    If you want to pay for the enterprise version, you also get the ability to use LDAP for authentication, and the ability to filter feeds by name/license from connected feeds (i.e. NuGet's official feed).

    0 讨论(0)
  • 2020-12-12 13:22

    Yes, you can have local feeds. It's dead-simple to set up, take a look here.

    MyGet is popular for hosting private feeds. It's not free, but take a look at their pricing and maybe it suits you well!

    0 讨论(0)
  • 2020-12-12 13:32

    Yes! You can host your own NuGet server!

    The easiest way is creating a shared folder on your server and referencing that as your Nuget Server.

    You can find more information about how to do that at: Hosting Your Own NuGet Feeds

    0 讨论(0)
提交回复
热议问题