Automating creating NuGet package as part of build process

前端 未结 9 1855
伪装坚强ぢ
伪装坚强ぢ 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:15

    As far as I'm aware, you can't.

    Instead, do it properly and have a proper build environment/process that fires a build script on commit/push to your main repository that does the following:

    • Clone/pull changes.
    • Build solution.
    • Build package(s).
    • Upload package(s) to package server.

    You could run TeamCity, CruiseControl.NET or some other CI server on a VM or on your existing build server.

提交回复
热议问题