Automating creating NuGet package as part of build process

前端 未结 9 1882
伪装坚强ぢ
伪装坚强ぢ 2020-12-22 18:05

I have an automated build process that I\'d like to extend so I can build the libraries I am distributing via NuGet. Currently, running nuget.exe to create the packages is

9条回答
  •  没有蜡笔的小新
    2020-12-22 18:18

    Install the 'NuGet.for.MSBuild' nuget package. No '.nuspec' file is required and the required information will be taken from the AssemblyInfo.cs.

    Set the build to 'Release' mode. Once built the nupkg file will be in the 'bin/Release' folder.

    https://nuget4msbuild.codeplex.com/

提交回复
热议问题