Skip to content

Commit e47043b

Browse files
committed
Use a 'BuildSolution' variable instead of 'Parameters.solution'
The default template had $(Parameters.solution) but I could not figure out how to set it, so changing to a variable instead?
1 parent 9068e9f commit e47043b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

azure-pipelines.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ pool:
77

88
jobs:
99
- job: Build and Test
10-
parameters:
11-
solution: StyleCopAnalyzers.sln
1210
variables:
11+
BuildSolution: StyleCopAnalyzers.sln
1312
BuildPlatform: AnyCPU
1413
strategy:
1514
matrix:
@@ -26,11 +25,11 @@ jobs:
2625
- task: NuGetCommand@2
2726
displayName: 'NuGet restore'
2827
inputs:
29-
restoreSolution: '$(Parameters.solution)'
28+
restoreSolution: '$(BuildSolution)'
3029

3130
- task: VSBuild@1
3231
displayName: 'Build solution StyleCopAnalyzers.sln'
3332
inputs:
34-
solution: '$(Parameters.solution)'
33+
solution: '$(BuildSolution)'
3534
platform: '$(BuildPlatform)'
3635
configuration: '$(BuildConfiguration)'

0 commit comments

Comments
 (0)