From bcd8be87c5040bc4e7673619ed0f10c93e8125d5 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Thu, 18 Feb 2021 11:31:23 -0700 Subject: [PATCH] Use `dotnet build` in official builds --- azure-pipelines/dotnet.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/azure-pipelines/dotnet.yml b/azure-pipelines/dotnet.yml index 9cc025a4..c4dcaa9e 100644 --- a/azure-pipelines/dotnet.yml +++ b/azure-pipelines/dotnet.yml @@ -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