-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines.yml
30 lines (30 loc) · 1.22 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
stages:
- stage: Build
jobs:
- job:
displayName: "Build"
pool:
vmImage: "windows-latest"
steps:
- checkout: self
clean: true
- task: NuGetToolInstaller@1
displayName: "Use NuGet 5.8.x"
inputs:
versionSpec: 5.8.x
- task: NuGetCommand@2
displayName: "NuGet restore"
inputs:
restoreSolution: "**/BuildTest.sln"
verbosityRestore: normal
feedsToUse: "config"
nugetConfigPath: "$(Build.SourcesDirectory)/nuget.config"
- task: MSBuild@1
displayName: "Build"
inputs:
solution: BuildTest/BuildTest.csproj
msbuildArchitecture: x64
platform: AnyCPU
configuration: Release
maximumCpuCount: true
msbuildArguments: "/p:BuildInParallel=true /p:WebPublishMethod=FileSystem /p:PublishUrl=publish /t:WebPublish /Verbosity:minimal /warnaserror /p:TreatWarningsAsErrors=true /p:PrecompileBeforePublish=True /p:UseMerge=True /p:SingleAssemblyName=BuildTest.CompiledViews /p:EnableUpdateable=false /p:DebugSymbols=true"