@@ -139,6 +139,13 @@ jobs:
139
139
inputs :
140
140
forceReinstallCredentialProvider : true
141
141
142
+ # Sets the VisualStudioMinimumVersion variable for the job. This variable is also used by the APIScan job.
143
+ # https://docs.microsoft.com/azure/devops/pipelines/process/set-variables-scripts?view=azure-devops&tabs=powershell#set-variable-properties
144
+ - powershell : Write-Host "##vso[task.setvariable variable=VisualStudioMinimumVersion;isoutput=true]$(VisualStudioMinimumVersion)"
145
+ displayName : Set VisualStudioMinimumVersion Variable
146
+ # Name is required to reference the variables created within this build step in other stages.
147
+ name : SetVisualStudioMinimumVersionVariable
148
+
142
149
# Runs the full build of the projects in the repository. See Build.proj for details.
143
150
- script : $(Build.SourcesDirectory)/build.cmd /v:normal /p:Configuration=$(BuildConfiguration) /p:CIBuild=true
144
151
displayName : Build All Projects
@@ -172,13 +179,6 @@ jobs:
172
179
- task : MicroBuildSwixPlugin@4
173
180
displayName : Install Swix Plugin
174
181
175
- # Sets the VisualStudioMinimumVersion variable for the job. This variable is also used by the APIScan job.
176
- # https://docs.microsoft.com/azure/devops/pipelines/process/set-variables-scripts?view=azure-devops&tabs=powershell#set-variable-properties
177
- - powershell : Write-Host "##vso[task.setvariable variable=VisualStudioMinimumVersion;isoutput=true]$(. '$(Build.SourcesDirectory)/eng/scripts/GetVisualStudioMinimumVersion.ps1')"
178
- displayName : Set VisualStudioMinimumVersion Variable
179
- # Name is required to reference the variables created within this build step in other stages.
180
- name : SetVisualStudioMinimumVersionVariable
181
-
182
182
# Creates the VS bootstrapper information based on the build's .vsman file.
183
183
# This bootstrapper information is only used for OptProf currently.
184
184
# Since this data will be output with rest of our insertion files, we produce this data now and publish it in the build artifacts.
0 commit comments