且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

VSTS Build Nuget Packager无法正常工作

更新时间:2023-02-10 22:49:04

NuGet打包程序步骤不适用于基于SDK的 csproj 格式(通常是.NET Standard或.NET Core项目)。

The NuGet packer step doesn't work on SDK-based csproj formats (usually .NET Standard or .NET Core projects).

可以使用命令行步骤调用 dotnet pack 或使用.NET Core构建步骤(将调用包装到 dotnet )。请注意,命令选择器当前未列出 pack ,但是该字段接受任何输入:

The projects can be packed using a command line step to call dotnet pack or by using the .NET Core build step (which wraps the call to dotnet in a build step). Note that the command selector currently does not list pack, but the field accepts any input: