@@ -139,6 +139,13 @@ jobs:
139139 inputs :
140140 forceReinstallCredentialProvider : true
141141
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]${{ parameters.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+
142149 # Runs the full build of the projects in the repository. See Build.proj for details.
143150 - script : $(Build.SourcesDirectory)/build.cmd /v:normal /p:Configuration=$(BuildConfiguration) /p:CIBuild=true
144151 displayName : Build All Projects
@@ -172,13 +179,6 @@ jobs:
172179 - task : MicroBuildSwixPlugin@4
173180 displayName : Install Swix Plugin
174181
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-
182182 # Creates the VS bootstrapper information based on the build's .vsman file.
183183 # This bootstrapper information is only used for OptProf currently.
184184 # 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