I am looking a api that helps us to create NuGet package from a vsix project.
I found apis used for installation of Package like - NuGet.VisualStudio
.
Please let me know if there is any similar api for creation and publish of a package as well. I need to create package with selective files.
Hope these can help you:
Use Nuget/PackageBuilder to create a packge. The sample: Build Package.
Use NuGet.Protocol.Core.Types/PackageUpdateResource to upload the project. The sample: Upload Package.