Nuget packages without nuget package manager?(没有 nuget 包管理器的 Nuget 包?)
问题描述
除了已编译的库之外,nuget 包实际上包含什么?
What does a nuget package actually consist of, apart from the compiled libraries?
是否可以在不使用包管理器的情况下下载这些包并在其他地方使用它们?
Is it possible to download these packages without using the package manager and use them elsewhere?
谢谢!
推荐答案
除了已编译的库之外,nuget 包实际上包含什么?
What does a nuget package actually consist of, apart from the compiled libraries?
看这里.基本上它是一个带有 .nupkg 扩展名的文件,只不过是一个 .zip 文件,其中包含上一个链接中解释的结构和一些 xml 元数据.
Take a look here. Basically it is a file with the .nupkg extension which is nothing more than a .zip file containing the structure explained in the previous link and some xml metadata.
是否可以在不使用包管理器的情况下下载这些包并在其他地方使用它们?
Is it possible to download these packages without using the package manager and use them elsewhere?
当然,只需下载 .nupkg 文件.
Sure, simply download the .nupkg file.
这篇关于没有 nuget 包管理器的 Nuget 包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:没有 nuget 包管理器的 Nuget 包?
基础教程推荐
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- WPF 模态进度窗口 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
