Can I publish a private NuGet package?(我可以发布私有 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 包吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:我可以发布私有 NuGet 包吗?


- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 如何用自己压缩一个 IEnumerable 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- 输入按键事件处理程序 2022-01-01