From 8974cd7a4316aa1f23b19044c6fc653ee40cadf5 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Fri, 28 Oct 2022 19:29:48 +0100 Subject: [PATCH 1/3] Update azure-pipelines.yml Use `windows-latest` vmImage --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d7fc2f097..7326ea9f2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,7 +16,7 @@ resources: endpoint: nanoframework pool: - vmImage: 'windows-2019' + vmImage: 'windows-latest' variables: solution: '**/*.sln' From 91c2addf55ea9762a2307487a60b9bcb917170ed Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Sat, 17 Dec 2022 18:02:10 +0000 Subject: [PATCH 2/3] Test build project only. --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6faecc0f4..733c6b3e8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1211,7 +1211,7 @@ steps: ) displayName: Install nanoFramework MSBuild components -- task: VSBuild@1 +- task: MSBuild@1 displayName: Build CoreLibrary condition: >- and( @@ -1223,7 +1223,7 @@ steps: ) ) inputs: - solution: 'CoreLibrary\nanoFramework.CoreLibrary.sln' + solution: 'CoreLibrary\nanoFramework.CoreLibrary\CoreLibrary.nfproj' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)' maximumCpuCount: true From d76b413b6528cf2ca096492c7987850198a029b2 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Sat, 17 Dec 2022 18:20:28 +0000 Subject: [PATCH 3/3] Fix build of webserver --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 733c6b3e8..66c290eec 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1296,7 +1296,7 @@ steps: configuration: '$(buildConfiguration)' maximumCpuCount: true -- task: VSBuild@1 +- task: MSBuild@1 displayName: Build nanoFramework.WebServer condition: >- and( @@ -1308,7 +1308,7 @@ steps: ) ) inputs: - solution: 'nanoFramework.WebServer\nanoFramework.WebServer.sln' + solution: 'nanoFramework.WebServer\nanoFramework.WebServer\nanoFramework.WebServer.nfproj' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)' maximumCpuCount: true