File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,23 @@ steps:
1212 displayName : ' Install wasm-tools'
1313
1414- powershell : |
15+ Push-Location $(IdWebSourceDir)
1516 $nugetSourceIsExternal = (dotnet nuget list source --format Short).Contains("https://api.nuget.org/v3/index.json")
1617 if ($nugetSourceIsExternal) {
1718 dotnet nuget remove source NuGet
1819 dotnet nuget add source https://identitydivision.pkgs.visualstudio.com/_packaging/IDDP/nuget/v3/index.json -n IDDP
1920 dotnet nuget list source
2021 }
22+ Pop-Location
2123 displayName : ' Remove external "NuGet" Source and add "IDDP artifacts" as a NuGet Source, if needed.'
2224
2325- task : DotNetCoreCLI@2
2426 displayName : ' Build solution Microsoft.Identity.Web.sln'
2527 inputs :
2628 command : ' custom'
2729 custom : ' build'
30+ feedsToUse : ' config'
31+ nugetConfigPath : NuGet.config
2832 projects : ' $(IdWebSourceDir)Microsoft.Identity.Web.sln'
2933 arguments : ' -p:configuration=${{ parameters.BuildConfiguration }} -p:RunCodeAnalysis=true -p:MicrosoftIdentityWebVersion=${{ parameters.MicrosoftIdentityWebVersion }} -p:SourceLinkCreate=true'
3034
You can’t perform that action at this time.
0 commit comments