我可以发布一个私人的NuGet包? [英] Can I publish a private NuGet package?

查看:138
本文介绍了我可以发布一个私人的NuGet包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我做了这是在我的公司非常具体的我的团队的组件。我希望能够利用的NuGet,使本次大会缴费到我的团队和类似的小组在我的公司正致力于其他项目。但是,大会是不是真的,我想与世界分享代码。

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 team and similar teams at my company are working on. However, the assembly isn't really code that I want to share with the world.

我知道使用Maven,你可以从本地回购创建本地存储库和源代码包。不支持的NuGet类似的功能?有没有用的NuGet的方式来指定一个本地资源库,或有私人包?

I know with Maven, you can create local repositories and source packages from a local repo. Does NuGet support similar functionality? Is there a way with NuGet to specify either a local repository or to have private packages?

推荐答案

是的!您可以举办自己的NuGet服务器!

Yes! You can host your own NuGet server!

最简单的方法是在服务器上创建一个共享文件夹和引用,作为您的NuGet服务器。

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

您可以找到有关如何做到这一点的更多信息:的托管自己的NuGet订阅

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

这篇关于我可以发布一个私人的NuGet包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆