Skip to content

Commit

Permalink
Use dotnet build in official builds
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Feb 18, 2021
1 parent d554088 commit bcd8be8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions azure-pipelines/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
steps:
# We use VSBuild instead of "dotnet build" on Windows where MicroBuild tasks have to run (since they don't support MSBuild Core yet).
- task: VSBuild@1
displayName: Build Visual Studio solution
inputs:
msbuildArgs: /t:build,pack /m /bl:"$(Build.ArtifactStagingDirectory)/build_logs/msbuild.binlog"
platform: Any CPU
configuration: $(BuildConfiguration)
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))

- script: dotnet build --no-restore -c $(BuildConfiguration) /v:m /bl:"$(Build.ArtifactStagingDirectory)/build_logs/build.binlog"
displayName: dotnet build
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT'))

- script: dotnet pack --no-build -c $(BuildConfiguration) /v:m /bl:"$(Build.ArtifactStagingDirectory)/build_logs/pack.binlog"
displayName: dotnet pack
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT'))

- task: DotNetCoreCLI@2
displayName: dotnet test -f net472
Expand Down

0 comments on commit bcd8be8

Please sign in to comment.