[英]Is there any NuGet API to create a Package from a Visual Studio Extension project
I am looking a api that helps us to create NuGet package from a vsix project.我正在寻找一个 api,它可以帮助我们从 vsix 项目创建 NuGet 包。 I found apis used for installation of Package like -
NuGet.VisualStudio
.我发现 apis 用于安装 Package like -
NuGet.VisualStudio
。
Please let me know if there is any similar api for creation and publish of a package as well.请让我知道是否有任何类似的 api 用于创建和发布包。 I need to create package with selective files.
我需要使用选择性文件创建包。
Hope these can help you:希望这些能帮到你:
Use Nuget/PackageBuilder to create a packge.使用Nuget/PackageBuilder创建包。 The sample: Build Package .
示例: 构建包。
Use NuGet.Protocol.Core.Types/PackageUpdateResource to upload the project.使用NuGet.Protocol.Core.Types/PackageUpdateResource上传项目。 The sample: Upload Package .
示例: 上传包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.