File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ extends:
170170 /p:ManifestBuildNumber=$(Build.BuildNumber)
171171 /p:VisualStudioDropName=Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber)
172172 /p:GenerateSbom=true
173+ /p:RestoreInternalTooling=true
173174
174175 steps :
175176 - task : NuGetCommand@2
@@ -200,6 +201,7 @@ extends:
200201 -prepareMachine
201202 -restore
202203 -nobl
204+ $(_BuildArgs)
203205 name : Restore
204206 displayName : Restore
205207 condition : succeeded()
Original file line number Diff line number Diff line change 1111 packageType : runtime
1212 version : 3.1.28
1313 installationPath : ' $(Build.SourcesDirectory)\.dotnet'
14-
15- # Needed because the build fails the NuGet Tools restore without it
16- - task : UseDotNet@2
17- displayName : ' Use .NET Core sdk'
18- inputs :
19- packageType : sdk
20- useGlobalJson : true
21- workingDirectory : ' $(Build.SourcesDirectory)'
22-
23- # Needed to restore the Microsoft.DevDiv.Optimization.Data.PowerShell package
24- - task : NuGetCommand@2
25- displayName : Restore internal tools
26- inputs :
27- command : restore
28- feedsToUse : config
29- restoreSolution : ' eng\common\internal\Tools.csproj'
30- nugetConfigPath : ' NuGet.config'
31- restoreDirectory : ' $(Build.SourcesDirectory)\.packages'
32-
You can’t perform that action at this time.
0 commit comments