Azure DevOps 持续集成CI 配置
1.获取数据源 Select a scurce
2.NuGet restore,如有自定义的包 可以添加NuGet.config
3.Build Solution。
(MSBuild Arguments :/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\\" )
4.Copy Files to: $(build.artifactstagingdirectory)
5.Publish Artifact: drop