Skip to content
This repository was archived by the owner on Apr 6, 2024. It is now read-only.

Commit ce9c469

Browse files
authored
Build with Visual Studio 2019 (#234)
1 parent 5c560a5 commit ce9c469

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pr:
1212
jobs:
1313
- job: Windows
1414
pool:
15-
vmImage: 'vs2017-win2016'
15+
vmImage: 'windows-2019'
1616
steps:
1717
- powershell: ./build.ps1
1818
displayName: 'Cake Build'

recipe.cake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ BuildParameters.PrintParameters(Context);
1818

1919
ToolSettings.SetToolSettings(
2020
context: Context,
21+
buildMSBuildToolVersion: MSBuildToolVersion.VS2019,
2122
dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "/src/Cake.Issues.Reporting.Generic.Tests/*.cs" },
2223
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[Cake.Issues]* -[Cake.Issues.Testing]* -[Cake.Issues.Reporting]* -[Shouldly]* -[Newtonsoft.Json]* -[HtmlAgilityPack]*",
2324
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",

0 commit comments

Comments
 (0)