From ee06eb4407bf7f8ce695e68a8ec71d7a835c4c22 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Fri, 3 Jul 2020 01:14:11 -0700 Subject: [PATCH] Fixes Azure Pipelines for Windows (#171) --- azure-pipelines.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 25ec6be61..5a6595a6b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,27 +14,28 @@ jobs: vmImage: 'windows-latest' steps: + - task: NuGetToolInstaller@1 + inputs: + versionSpec: '5.x' + displayName: 'Install latest NuGet' - task: DotNetCoreCLI@2 inputs: command: 'custom' custom: 'restore' arguments: '--force-evaluate' displayName: 'Restore NuGet Packages' - - task: DotNetCoreCLI@2 inputs: command: 'build' arguments: '-c $(buildConfiguration) --no-restore' projects: '**/Projects/Server/Server.csproj' displayName: 'Build Server' - - task: DotNetCoreCLI@2 inputs: command: 'build' arguments: '-c $(buildConfiguration) --no-restore' projects: '**/Projects/UOContent/UOContent.csproj' displayName: 'Build UO Content' - - task: DotNetCoreCLI@2 inputs: command: 'test' @@ -65,21 +66,18 @@ jobs: custom: 'restore' arguments: '--force-evaluate' displayName: 'Restore NuGet Packages' - - task: DotNetCoreCLI@2 inputs: command: 'build' arguments: '-c $(buildConfiguration) --no-restore' projects: '**/Projects/Server/Server.csproj' displayName: 'Build Server' - - task: DotNetCoreCLI@2 inputs: command: 'build' arguments: '-c $(buildConfiguration) --no-restore' projects: '**/Projects/UOContent/UOContent.csproj' displayName: 'Build UO Content' - - task: DotNetCoreCLI@2 inputs: command: 'test'