Closed martincostello closed 1 year ago
To build a solution file, you need to:
I typically use "scripts/slngen -all -folders -nolaunch"
According to the linked document in the README on how to build the solution:
This then fails as described in the issue description above:
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.Manifest
Tool.CrossPlatform (>= 2.1.3)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is enabled, the following
source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.VisualSt
udioEng.MicroBuild.Core (>= 1.0.0)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is enabled, the follo
wing source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.VisualSt
udioEng.MicroBuild.Plugins.SwixBuild (>= 1.1.286)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is ena
bled, the following source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\exte
nsions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : Unable to l
oad the service index for source https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal-tooling/nuget/v
3/index.json. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.ServiceIndexResourceV3Provider.GetServiceIndexResourceV3(SourceRepository source, DateTime utcNow, ILogg
er log, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.ServiceIndexResourceV3Provider.TryCreate(SourceRepository source, CancellationToken token) [C:\Coding\do
tnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Core.Types.SourceRepository.GetResourceAsync[T](CancellationToken token) [C:\Coding\dotnet\extensions\ex
tensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Providers.VulnerabilityInfoResourceV3Provider.TryCreate(SourceRepository source, CancellationToken token
) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Core.Types.SourceRepository.GetResourceAsync[T](CancellationToken token) [C:\Coding\dotnet\extensions\ex
tensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.VulnerabilityInformationProvider.GetVulnerabilityInfoAsync() [C:\Coding\dotnet\extensions\extensions.sln
]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.VulnerabilityInformationProvider.GetVulnerabilityInformationAsync(CancellationToken cancellationToken) [
C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.Restore.Utility.AuditUtility.GetAllVulnerabilityDataAsync(CancellationToken cancellationToken) [C:\Codin
g\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.Restore.Utility.AuditUtility.CheckPackageVulnerabilitiesAsync(CancellationToken cancellationToken) [C:\C
oding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreCommand.PerformAuditAsync(EnabledValue enableAudit, IEnumerable`1 graphs, TelemetryActivity telem
etry, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreCommand.ExecuteAsync(CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.ExecuteAsync(RestoreSummaryRequest summaryRequest, CancellationToken token) [C:\Coding\dot
net\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.ExecuteAndCommitAsync(RestoreSummaryRequest summaryRequest, IRestoreProgressReporter progr
essReporter, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.CompleteTaskAsync(List`1 restoreTasks) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.RunAsync(IEnumerable`1 restoreRequests, RestoreArgs restoreArgs, CancellationToken token)
[C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.RunAsync(RestoreArgs restoreContext, CancellationToken token) [C:\Coding\dotnet\extensions
\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Build.Tasks.BuildTasksUtility.RestoreAsync(DependencyGraphSpec dependencyGraphSpec, Boolean interactive, Boolean
recursive, Boolean noCache, Boolean ignoreFailedSources, Boolean disableParallel, Boolean force, Boolean forceEval
uate, Boolean hideWarningsAndErrors, Boolean restorePC, Boolean cleanupAssetsForUnsupportedProjects, ILogger log,
CancellationToken cancellationToken) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23476.6\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Build.Tasks.Console.MSBuildStaticGraphRestore.RestoreAsync(String entryProjectFilePath, IDictionary`2 globalPrope
rties, IReadOnlyDictionary`2 options) [C:\Coding\dotnet\extensions\extensions.sln]
0 Warning(s)
4 Error(s)
Time Elapsed 00:00:27.08
Build failed with exit code 1. Check errors above.
@RussKie indeed this feed is secured.
@martincostello we can't use non-public feeds in a public repo. Why were you trying to use it?
I don't know, you tell me.
I cloned the repo and tried to build it and that's the error I got. I have never encountered that feed before.
/me re-reads the issue...
Oh, it looks like the Arcade is trying to access an internal feed...
@dotnet/dnceng can you please advise why the Arcade is using internal feeds?
Arcade uses internal feeds to restore internal only tooling that should only be used during CI scenarios. I suggest not trying to restore the internal tools during your dev workflow.
The dotnet-core-internal-tooling feed will always require authentication so adding it to the nuget.config will always cause this problem.
Is restore.cmd misconfigured in this repo then?
Running it with no arguments in the dotnet/aspnetcore repo, as an example, has no issues for me.
@martincostello it's more likely the repo's pipeline is misconfigured and is trying to fully sign packages or similar in a public build. you may want to compare the YAML here w/ that in the aspnetcore or efcore repo. they both do the appropriate conditionalizations (though you may be able to simplify things here)
@dougbu: @martincostello says the issue was observed locally.
<root>\restore.cmd
invokes <root>\eng\build.ps1
which delegate the work to <root>\eng\common\build.ps1
.
<root>\eng\build.ps1
does load <root>\eng\common\tools.ps1
to install .NET SDK, but it doesn't invoke eng\common\internal\Tools.csproj
.
https://github.com/dotnet/extensions/blob/ab869c6d839be079f9ad21c0d2c744861f4c4149/eng/build.ps1#L102-L104
@martincostello is it failing consistently? Can you share a binlog?
If you'd like a .binlog
I'll need to email it to you as otherwise it might pick up secrets configured on my laptop.
Some data points for you.
Using Codespaces (which is Linux, not Windows so not 100% comparable), both main
and release/8.0
restore the packages with no issues.
Welcome to Codespaces! You are on a custom image defined in your devcontainer.json file.
π To explore VS Code to its fullest, search using the Command Palette (Cmd/Ctrl + Shift + P)
π Edit away, then run your build command to see your code running in the browser.
@martincostello β /workspaces/extensions (main) $ ./restore.sh
[INFO] Building the default project as configured in eng/Build.props...
Determining projects to restore...
Tool 'dotnet-coverage' (version '17.8.2') was restored. Available commands: dotnet-coverage
Tool 'dotnet-reportgenerator-globaltool' (version '5.1.19') was restored. Available commands: reportgenerator
Tool 'microsoft.visualstudio.slngen.tool' (version '10.4.0') was restored. Available commands: slngen
Tool 'powershell' (version '7.3.3') was restored. Available commands: pwsh
Restore was successful.
All projects are up-to-date for restore.
Runtime toolset 'dotnet/x64 v8.0.0-rtm.23475.7' already installed.
Runtime toolset 'dotnet/x64 v9.0.0-alpha.1.23470.17' already installed.
Runtime toolset 'aspnetcore/x64 v8.0.0-rtm.23475.5' already installed.
Runtime toolset 'aspnetcore/x64 v9.0.0-alpha.1.23476.39' already installed.
Determining projects to restore...
All projects are up-to-date for restore.
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:17.53
@martincostello β /workspaces/extensions (main) $ git checkout release/8.0
branch 'release/8.0' set up to track 'origin/release/8.0'.
Switched to a new branch 'release/8.0'
@martincostello β /workspaces/extensions (release/8.0) $ ./restore.sh
[INFO] Building the default project as configured in eng/Build.props...
Attempting to install 'sdk v8.0.100-rc.2.23462.28' from public_location.
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.100-rc.2.23462.28/dotnet-sdk-8.0.100-rc.2.23462.28-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.100-rc.2.23462.28/dotnet-sdk-8.0.100-rc.2.23462.28-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/Sdk/8.0.100-rc.2.23462.28/dotnet-sdk-8.0.100-rc.2.23462.28-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/Sdk/8.0.100-rc.2.23462.28/dotnet-sdk-8.0.100-rc.2.23462.28-linux-x64.tar.gz size is 212239933 bytes.
dotnet-install: Extracting zip from https://dotnetbuilds.azureedge.net/public/Sdk/8.0.100-rc.2.23462.28/dotnet-sdk-8.0.100-rc.2.23462.28-linux-x64.tar.gz
dotnet-install: Downloaded file size is 212239933 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 8.0.100-rc.2.23462.28
dotnet-install: Adding to current process PATH: `/workspaces/extensions/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Determining projects to restore...
Tool 'dotnet-coverage' (version '17.8.2') was restored. Available commands: dotnet-coverage
Tool 'dotnet-reportgenerator-globaltool' (version '5.1.19') was restored. Available commands: reportgenerator
Tool 'microsoft.visualstudio.slngen.tool' (version '9.5.3') was restored. Available commands: slngen
Tool 'powershell' (version '7.3.3') was restored. Available commands: pwsh
Restore was successful.
Restored /home/vscode/.nuget/packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.23463.1/tools/Tools.proj (in 174 ms).
Attempting to install runtime toolset 'dotnet/x64 v6.0.22' from public_location.
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Runtime/6.0.22/dotnet-runtime-6.0.22-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetcli.azureedge.net/dotnet/Runtime/6.0.22/dotnet-runtime-6.0.22-linux-x64.tar.gz size is 30701237 bytes.
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Runtime/6.0.22/dotnet-runtime-6.0.22-linux-x64.tar.gz
dotnet-install: Downloaded file size is 30701237 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 6.0.22
dotnet-install: Adding to current process PATH: `/workspaces/extensions/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Attempting to install runtime toolset 'aspnetcore/x64 v6.0.22' from public_location.
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/6.0.22/aspnetcore-runtime-6.0.22-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/6.0.22/aspnetcore-runtime-6.0.22-linux-x64.tar.gz size is 39870411 bytes.
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/6.0.22/aspnetcore-runtime-6.0.22-linux-x64.tar.gz
dotnet-install: Downloaded file size is 39870411 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 6.0.22
dotnet-install: Adding to current process PATH: `/workspaces/extensions/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Determining projects to restore...
Restored /workspaces/extensions/src/Packages/Microsoft.Extensions.ExtraAnalyzers/Microsoft.Extensions.ExtraAnalyzers.csproj (in 386 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.AspNetCore.HeaderParsing.Tests/Microsoft.AspNetCore.HeaderParsing.Tests.csproj (in 7 sec).
Restored /workspaces/extensions/test/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware.Tests/Microsoft.AspNetCore.Diagnostics.Middleware.Tests.csproj (in 6.6 sec).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.AmbientMetadata.Application.Tests/Microsoft.Extensions.AmbientMetadata.Application.Tests.csproj (in 7 sec).
Restored /workspaces/extensions/test/Libraries/Microsoft.AspNetCore.Testing.Tests/Microsoft.AspNetCore.Testing.Tests.csproj (in 7 sec).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.AsyncState/Microsoft.Extensions.AsyncState.csproj (in 413 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.AspNetCore.Testing/Microsoft.AspNetCore.Testing.csproj (in 400 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.AspNetCore.HeaderParsing/Microsoft.AspNetCore.HeaderParsing.csproj (in 10 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/Microsoft.Extensions.AmbientMetadata.Application.csproj (in 413 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.AspNetCore.AsyncState/Microsoft.AspNetCore.AsyncState.csproj (in 9 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware/Microsoft.AspNetCore.Diagnostics.Middleware.csproj (in 31 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.AspNetCore.AsyncState.Tests/Microsoft.AspNetCore.AsyncState.Tests.csproj (in 452 ms).
Restored /workspaces/extensions/src/Generators/Microsoft.Gen.Logging/Microsoft.Gen.Logging.csproj (in 166 ms).
Restored /workspaces/extensions/src/Generators/Microsoft.Gen.Metrics/Microsoft.Gen.Metrics.csproj (in 176 ms).
Restored /workspaces/extensions/src/Generators/Microsoft.Gen.EnumStrings/Microsoft.Gen.EnumStrings.csproj (in 165 ms).
Restored /workspaces/extensions/src/Generators/Microsoft.Gen.MetricsReports/Microsoft.Gen.MetricsReports.csproj (in 189 ms).
Restored /workspaces/extensions/src/Generators/Microsoft.Gen.ContextualOptions/Microsoft.Gen.ContextualOptions.csproj (in 26 ms).
Restored /workspaces/extensions/src/Generators/Microsoft.Gen.AutoClient/Microsoft.Gen.AutoClient.csproj (in 30 ms).
Restored /workspaces/extensions/src/Generators/Microsoft.Gen.ComplianceReports/Microsoft.Gen.ComplianceReports.csproj (in 41 ms).
Restored /workspaces/extensions/src/Analyzers/Microsoft.Analyzers.Local/Microsoft.Analyzers.Local.csproj (in 76 ms).
Restored /workspaces/extensions/src/Analyzers/Microsoft.Analyzers.Extra/Microsoft.Analyzers.Extra.csproj (in 40 ms).
Restored /workspaces/extensions/eng/build.proj (in 75 ms).
Restored /workspaces/extensions/bench/Libraries/Microsoft.Extensions.Diagnostics.Extra.PerformanceTests/Microsoft.Extensions.Diagnostics.Extra.PerformanceTests.csproj (in 1.73 sec).
Restored /workspaces/extensions/bench/Libraries/Microsoft.Extensions.Http.Resilience.PerformanceTests/Microsoft.Extensions.Http.Resilience.PerformanceTests.csproj (in 1.76 sec).
Restored /workspaces/extensions/bench/Libraries/Microsoft.Extensions.Resilience.PerformanceTests/Microsoft.Extensions.Resilience.PerformanceTests.csproj (in 1.8 sec).
Restored /workspaces/extensions/bench/Libraries/Microsoft.Extensions.Http.Diagnostics.PerformanceTests/Microsoft.Extensions.Http.Diagnostics.PerformanceTests.csproj (in 1.76 sec).
Restored /workspaces/extensions/test/Shared/Shared.Tests.csproj (in 20 ms).
Restored /workspaces/extensions/test/TestUtilities/TestUtilities.csproj (in 24 ms).
Restored /workspaces/extensions/bench/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests/Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests.csproj (in 48 ms).
Restored /workspaces/extensions/bench/Generators/Microsoft.Gen.EnumStrings.PerformanceTests/Microsoft.Gen.EnumStrings.PerformanceTests.csproj (in 47 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.ObjectPool.DependencyInjection.Tests/Microsoft.Extensions.ObjectPool.DependencyInjection.Tests.csproj (in 27 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.TimeProvider.Testing.Tests/Microsoft.Extensions.TimeProvider.Testing.Tests.csproj (in 55 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Options.ContextualOptions.Tests/Microsoft.Extensions.Options.Contextual.Tests.csproj (in 75 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Http.Resilience.Tests/Microsoft.Extensions.Http.Resilience.Tests.csproj (in 48 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Resilience.Tests/Microsoft.Extensions.Resilience.Tests.csproj (in 85 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Http.AutoClient.Tests/Microsoft.Extensions.Http.AutoClient.Tests.csproj (in 31 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Http.Diagnositcs.Tests/Microsoft.Extensions.Http.Diagnostics.Tests.csproj (in 69 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.Testing.Tests/Microsoft.Extensions.Diagnostics.Testing.Tests.csproj (in 32 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.EnumStrings.Tests/Microsoft.Extensions.EnumStrings.Tests.csproj (in 46 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Hosting.Testing.Tests/Microsoft.Extensions.Hosting.Testing.Tests.csproj (in 62 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests/Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests.csproj (in 1.94 sec).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.Probes.Tests/Microsoft.Extensions.Diagnostics.Probes.Tests.csproj (in 1.96 sec).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.ExtraAbstractions.Tests/Microsoft.Extensions.Diagnostics.ExtraAbstractions.Tests.csproj (in 16 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.Extra.Tests/Microsoft.Extensions.Diagnostics.Extra.Tests.csproj (in 21 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests/Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests.csproj (in 15 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests.csproj (in 20 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Compliance.Testing.Tests/Microsoft.Extensions.Compliance.Testing.Tests.csproj (in 19 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Compliance.Redaction.Tests/Microsoft.Extensions.Compliance.Redaction.Tests.csproj (in 17 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.AsyncState.Tests/Microsoft.Extensions.AsyncState.Tests.csproj (in 11 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Compliance.Abstractions.Tests/Microsoft.Extensions.Compliance.Abstractions.Tests.csproj (in 24 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.MetricsReports/Unit/Microsoft.Gen.MetricsReports.Unit.Tests.csproj (in 52 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.Metrics/Unit/Microsoft.Gen.Metrics.Unit.Tests.csproj (in 52 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.Metrics/Generated/Microsoft.Gen.Metrics.Generated.Tests.csproj (in 20 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.Logging/Unit/Microsoft.Gen.Logging.Unit.Tests.csproj (in 33 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.Logging/Generated/Microsoft.Gen.Logging.Generated.Tests.csproj (in 17 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.EnumStrings/Generated/Microsoft.Gen.EnumStrings.Generated.Tests.csproj (in 15 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.EnumStrings/Unit/Microsoft.Gen.EnumStrings.Unit.Tests.csproj (in 27 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.ContextualOptions/Generated/Microsoft.Gen.ContextualOptions.Generated.Tests.csproj (in 13 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.ContextualOptions/Unit/Microsoft.Gen.ContextualOptions.Unit.Tests.csproj (in 25 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.ComplianceReports/Unit/Microsoft.Gen.ComplianceReports.Unit.Tests.csproj (in 15 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.AutoClient/Generated/Microsoft.Gen.AutoClient.Generated.Tests.csproj (in 18 ms).
Restored /workspaces/extensions/test/Generators/Microsoft.Gen.AutoClient/Unit/Microsoft.Gen.AutoClient.Unit.Tests.csproj (in 28 ms).
Restored /workspaces/extensions/test/Analyzers/Microsoft.Analyzers.Extra.Tests/Microsoft.Analyzers.Extra.Tests.csproj (in 49 ms).
Restored /workspaces/extensions/src/Shared/Shared.csproj (in 2 ms).
Restored /workspaces/extensions/src/Packages/Microsoft.Extensions.StaticAnalysis/Microsoft.Extensions.StaticAnalysis.csproj (in 2 ms).
Restored /workspaces/extensions/src/Packages/Microsoft.Extensions.AuditReports/Microsoft.Extensions.AuditReports.csproj (in 1 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.TimeProvider.Testing/Microsoft.Extensions.TimeProvider.Testing.csproj (in 2 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Resilience/Microsoft.Extensions.Resilience.csproj (in 4 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Options.Contextual/Microsoft.Extensions.Options.Contextual.csproj (in 2 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.ObjectPool.DependencyInjection/Microsoft.Extensions.ObjectPool.DependencyInjection.csproj (in 2 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Http.Resilience/Microsoft.Extensions.Http.Resilience.csproj (in 8 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Http.Diagnostics/Microsoft.Extensions.Http.Diagnostics.csproj (in 4 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Http.AutoClient/Microsoft.Extensions.Http.AutoClient.csproj (in 6 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Hosting.Testing/Microsoft.Extensions.Hosting.Testing.csproj (in 5 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.EnumStrings/Microsoft.Extensions.EnumStrings.csproj (in 2 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.Testing/Microsoft.Extensions.Diagnostics.Testing.csproj (in 3 ms).
Restored /workspaces/extensions/test/Analyzers/Microsoft.Analyzers.Local.Tests/Microsoft.Analyzers.Local.Tests.csproj (in 953 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.Probes/Microsoft.Extensions.Diagnostics.Probes.csproj (in 6 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.csproj (in 455 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring/Microsoft.Extensions.Diagnostics.ResourceMonitoring.csproj (in 1.29 sec).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests.csproj (in 3.66 sec).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.ExtraAbstractions/Microsoft.Extensions.Diagnostics.ExtraAbstractions.csproj (in 6 ms).
Restored /workspaces/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests.csproj (in 3.71 sec).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.ExceptionSummarization/Microsoft.Extensions.Diagnostics.ExceptionSummarization.csproj (in 6 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.Common/Microsoft.Extensions.Diagnostics.HealthChecks.Common.csproj (in 16 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.Extra/Microsoft.Extensions.Diagnostics.Extra.csproj (in 8 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation/Microsoft.Extensions.DependencyInjection.AutoActivation.csproj (in 8 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Compliance.Testing/Microsoft.Extensions.Compliance.Testing.csproj (in 6 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Compliance.Redaction/Microsoft.Extensions.Compliance.Redaction.csproj (in 10 ms).
Restored /workspaces/extensions/src/Libraries/Microsoft.Extensions.Compliance.Abstractions/Microsoft.Extensions.Compliance.Abstractions.csproj (in 12 ms).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:26.48
If I run restore.cmd
locally on my Windows 11 laptop, I consistently get the failure:
extensions on ξ main via .NET v9.0.100-alpha.1.23502.7 took 14s
β― .\restore.cmd
[INFO] Building C:\Coding\dotnet\extensions\extensions.sln...
Attempting to install 'sdk v9.0.100-alpha.1.23502.7' from public location.
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/Sdk/9.0.100-alpha.1.23502.7/dotnet-sdk-9.0.100-alpha.1.23502.7-win-x64.zip size is 269750702 bytes.
dotnet-install: Downloaded file https://dotnetbuilds.azureedge.net/public/Sdk/9.0.100-alpha.1.23502.7/dotnet-sdk-9.0.100-alpha.1.23502.7-win-x64.zip size is 269750702 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Extracting the archive.
dotnet-install: Adding to current process PATH: "C:\Coding\dotnet\extensions\.dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install/windows#dependencies
dotnet-install: Installed version is 9.0.100-alpha.1.23502.7
dotnet-install: Installation finished
Welcome to .NET 9.0!
---------------------
SDK Version: 9.0.100-alpha.1.23502.7
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Determining projects to restore...
Tool 'dotnet-coverage' (version '17.8.2') was restored. Available commands: dotnet-coverage
Tool 'dotnet-reportgenerator-globaltool' (version '5.1.19') was restored. Available commands: reportgenerator
Tool 'microsoft.visualstudio.slngen.tool' (version '10.4.0') was restored. Available commands: slngen
Tool 'powershell' (version '7.3.3') was restored. Available commands: pwsh
Restore was successful.
All projects are up-to-date for restore.
Attempting to install runtime toolset 'dotnet/x64 v8.0.0-rtm.23475.7' from public location.
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/Runtime/8.0.0-rtm.23475.7/dotnet-runtime-8.0.0-rtm.23475.7-win-x64.zip size is 33112759 bytes.
dotnet-install: Downloaded file https://dotnetbuilds.azureedge.net/public/Runtime/8.0.0-rtm.23475.7/dotnet-runtime-8.0.0-rtm.23475.7-win-x64.zip size is 33112759 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Extracting the archive.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install/windows#dependencies
dotnet-install: Installed version is 8.0.0-rtm.23475.7
dotnet-install: Installation finished
Attempting to install runtime toolset 'dotnet/x64 v9.0.0-alpha.1.23470.17' from public location.
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/Runtime/9.0.0-alpha.1.23470.17/dotnet-runtime-9.0.0-alpha.1.23470.17-win-x64.zip size is 31827524 bytes.
dotnet-install: Downloaded file https://dotnetbuilds.azureedge.net/public/Runtime/9.0.0-alpha.1.23470.17/dotnet-runtime-9.0.0-alpha.1.23470.17-win-x64.zip size is 31827524 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Extracting the archive.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install/windows#dependencies
dotnet-install: Installed version is 9.0.0-alpha.1.23470.17
dotnet-install: Installation finished
Attempting to install runtime toolset 'aspnetcore/x64 v8.0.0-rtm.23475.5' from public location.
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/8.0.0-rtm.23475.5/aspnetcore-runtime-8.0.0-rtm.23475.5-win-x64.zip size is 45156063 bytes.
dotnet-install: Downloaded file https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/8.0.0-rtm.23475.5/aspnetcore-runtime-8.0.0-rtm.23475.5-win-x64.zip size is 45156063 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Extracting the archive.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install/windows#dependencies
dotnet-install: Installed version is 8.0.0-rtm.23475.5
dotnet-install: Installation finished
Attempting to install runtime toolset 'aspnetcore/x64 v9.0.0-alpha.1.23476.39' from public location.
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/9.0.0-alpha.1.23476.39/aspnetcore-runtime-9.0.0-alpha.1.23476.39-win-x64.zip size is 42844078 bytes.
dotnet-install: Downloaded file https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/9.0.0-alpha.1.23476.39/aspnetcore-runtime-9.0.0-alpha.1.23476.39-win-x64.zip size is 42844078 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Extracting the archive.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install/windows#dependencies
dotnet-install: Installed version is 9.0.0-alpha.1.23476.39
dotnet-install: Installation finished
Determining projects to restore...
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.AspNetCore.HeaderParsing\Microsoft.AspNetCore.Heade
rParsing.csproj (in 8.36 sec).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Diagnostics.Testing\Microsoft.Extensions
.Diagnostics.Testing.csproj (in 8.36 sec).
Restored C:\Coding\dotnet\extensions\test\TestUtilities\TestUtilities.csproj (in 8.41 sec).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.MetricsReports\Unit\Microsoft.Gen.MetricsRepo
rts.Unit.Tests.csproj (in 8.41 sec).
Restored C:\Coding\dotnet\extensions\test\Analyzers\Microsoft.Analyzers.Local.Tests\Microsoft.Analyzers.Local.Te
sts.csproj (in 8.41 sec).
Restored C:\Coding\dotnet\extensions\test\Shared\Shared.Tests.csproj (in 8.42 sec).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.ContextualOptions\Unit\Microsoft.Gen.Contextu
alOptions.Unit.Tests.csproj (in 8.41 sec).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.TimeProvider.Testing.Tests\Microsoft.Ex
tensions.TimeProvider.Testing.Tests.csproj (in 8.42 sec).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.ObjectPool.DependencyInjection.Tests\Mi
crosoft.Extensions.ObjectPool.DependencyInjection.Tests.csproj (in 8.42 sec).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Compliance.Redaction.Tests\Microsoft.Ex
tensions.Compliance.Redaction.Tests.csproj (in 8.43 sec).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Resilience.Tests\Microsoft.Extensions.R
esilience.Tests.csproj (in 8.43 sec).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Http.Resilience.Tests\Microsoft.Extensi
ons.Http.Resilience.Tests.csproj (in 8.44 sec).
Restored C:\Coding\dotnet\extensions\src\Analyzers\Microsoft.Analyzers.Extra\Microsoft.Analyzers.Extra.csproj (i
n 72 ms).
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.Manifest
Tool.CrossPlatform (>= 2.1.3)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is enabled, the following
source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.VisualSt
udioEng.MicroBuild.Core (>= 1.0.0)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is enabled, the follo
wing source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.VisualSt
udioEng.MicroBuild.Plugins.SwixBuild (>= 1.1.286)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is ena
bled, the following source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\exte
nsions.sln]
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Options.ContextualOptions.Tests\Microso
ft.Extensions.Options.Contextual.Tests.csproj (in 412 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.AspNetCore.Testing.Tests\Microsoft.AspNetCore.Test
ing.Tests.csproj (in 365 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Diagnostics.ExtraAbstractions.Tests\Mic
rosoft.Extensions.Diagnostics.ExtraAbstractions.Tests.csproj (in 349 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.AmbientMetadata.Application.Tests\Micro
soft.Extensions.AmbientMetadata.Application.Tests.csproj (in 418 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.AspNetCore.HeaderParsing.Tests\Microsoft.AspNetCor
e.HeaderParsing.Tests.csproj (in 377 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.ComplianceReports\Unit\Microsoft.Gen.Complian
ceReports.Unit.Tests.csproj (in 74 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.ContextualOptions\Generated\Microsoft.Gen.Con
textualOptions.Generated.Tests.csproj (in 111 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Compliance.Abstractions.Tests\Microsoft
.Extensions.Compliance.Abstractions.Tests.csproj (in 107 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.AutoClient\Unit\Microsoft.Gen.AutoClient.Unit
.Tests.csproj (in 87 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.AsyncState.Tests\Microsoft.Extensions.A
syncState.Tests.csproj (in 129 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.TimeProvider.Testing\Microsoft.Extension
s.TimeProvider.Testing.csproj (in 13 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Options.Contextual\Microsoft.Extensions.
Options.Contextual.csproj (in 18 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.ObjectPool.DependencyInjection\Microsoft
.Extensions.ObjectPool.DependencyInjection.csproj (in 15 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Resilience\Microsoft.Extensions.Resilien
ce.csproj (in 43 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Http.Resilience\Microsoft.Extensions.Htt
p.Resilience.csproj (in 48 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.Logging\Unit\Microsoft.Gen.Logging.Unit.Tests
.csproj (in 56 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.EnumStrings\Unit\Microsoft.Gen.EnumStrings.Un
it.Tests.csproj (in 63 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.Logging\Generated\Microsoft.Gen.Logging.Gener
ated.Tests.csproj (in 120 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.EnumStrings\Generated\Microsoft.Gen.EnumStrin
gs.Generated.Tests.csproj (in 99 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Diagnostics.HealthChecks.Common\Microsof
t.Extensions.Diagnostics.HealthChecks.Common.csproj (in 773 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Diagnostics.Probes\Microsoft.Extensions.
Diagnostics.Probes.csproj (in 877 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests\M
icrosoft.Extensions.Diagnostics.HealthChecks.Common.Tests.csproj (in 1.69 sec).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Diagnostics.Extra\Microsoft.Extensions.D
iagnostics.Extra.csproj (in 33 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Diagnostics.Probes.Tests\Microsoft.Exte
nsions.Diagnostics.Probes.Tests.csproj (in 1.78 sec).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Diagnostics.ExceptionSummarization.Test
s\Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests.csproj (in 86 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Diagnostics.Extra.Tests\Microsoft.Exten
sions.Diagnostics.Extra.Tests.csproj (in 146 ms).
Restored C:\Coding\dotnet\extensions\src\Shared\Shared.csproj (in 12 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.DependencyInjection.AutoActivation.Test
s\Microsoft.Extensions.DependencyInjection.AutoActivation.Tests.csproj (in 114 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Compliance.Testing.Tests\Microsoft.Exte
nsions.Compliance.Testing.Tests.csproj (in 90 ms).
Restored C:\Coding\dotnet\extensions\src\Packages\Microsoft.Extensions.ExtraAnalyzers\Microsoft.Extensions.Extra
Analyzers.csproj (in 7 ms).
Restored C:\Coding\dotnet\extensions\test\Analyzers\Microsoft.Analyzers.Extra.Tests\Microsoft.Analyzers.Extra.Te
sts.csproj (in 60 ms).
Restored C:\Coding\dotnet\extensions\src\Packages\Microsoft.Extensions.StaticAnalysis\Microsoft.Extensions.Stati
cAnalysis.csproj (in 10 ms).
Restored C:\Coding\dotnet\extensions\src\Packages\Microsoft.Extensions.AuditReports\Microsoft.Extensions.AuditRe
ports.csproj (in 6 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.EnumStrings.Tests\Microsoft.Extensions.
EnumStrings.Tests.csproj (in 76 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Hosting.Testing.Tests\Microsoft.Extensi
ons.Hosting.Testing.Tests.csproj (in 118 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.AspNetCore.Diagnostics.Middleware\Microsoft.AspNetC
ore.Diagnostics.Middleware.csproj (in 24 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.AspNetCore.AsyncState\Microsoft.AspNetCore.AsyncSta
te.csproj (in 16 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Diagnostics.Testing.Tests\Microsoft.Ext
ensions.Diagnostics.Testing.Tests.csproj (in 106 ms).
Restored C:\Coding\dotnet\extensions\src\Generators\Microsoft.Gen.Metrics\Microsoft.Gen.Metrics.csproj (in 18 ms
).
Restored C:\Coding\dotnet\extensions\src\Generators\Microsoft.Gen.MetricsReports\Microsoft.Gen.MetricsReports.cs
proj (in 13 ms).
Restored C:\Coding\dotnet\extensions\src\Generators\Microsoft.Gen.Logging\Microsoft.Gen.Logging.csproj (in 15 ms
).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Http.Diagnositcs.Tests\Microsoft.Extens
ions.Http.Diagnostics.Tests.csproj (in 428 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Http.AutoClient.Tests\Microsoft.Extensi
ons.Http.AutoClient.Tests.csproj (in 474 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Compliance.Abstractions\Microsoft.Extens
ions.Compliance.Abstractions.csproj (in 11 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.AutoClient\Generated\Microsoft.Gen.AutoClient
.Generated.Tests.csproj (in 1.89 sec).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.AspNetCore.Testing\Microsoft.AspNetCore.Testing.csp
roj (in 7 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.AsyncState\Microsoft.Extensions.AsyncSta
te.csproj (in 16 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.AmbientMetadata.Application\Microsoft.Ex
tensions.AmbientMetadata.Application.csproj (in 21 ms).
Restored C:\Coding\dotnet\extensions\eng\Tools\ApiChief\ApiChief.csproj (in 2.53 sec).
Restored C:\Coding\dotnet\extensions\eng\Tools\DiagConfig\DiagConfig.csproj (in 2.57 sec).
Restored C:\Coding\dotnet\extensions\src\Generators\Microsoft.Gen.EnumStrings\Microsoft.Gen.EnumStrings.csproj (
in 15 ms).
Restored C:\Coding\dotnet\extensions\src\Generators\Microsoft.Gen.ContextualOptions\Microsoft.Gen.ContextualOpti
ons.csproj (in 16 ms).
Restored C:\Coding\dotnet\extensions\src\Generators\Microsoft.Gen.ComplianceReports\Microsoft.Gen.ComplianceRepo
rts.csproj (in 16 ms).
Restored C:\Coding\dotnet\extensions\src\Generators\Microsoft.Gen.AutoClient\Microsoft.Gen.AutoClient.csproj (in
16 ms).
Restored C:\Coding\dotnet\extensions\bench\Generators\Microsoft.Gen.EnumStrings.PerformanceTests\Microsoft.Gen.E
numStrings.PerformanceTests.csproj (in 11.12 sec).
Restored C:\Coding\dotnet\extensions\bench\Libraries\Microsoft.Extensions.Resilience.PerformanceTests\Microsoft.
Extensions.Resilience.PerformanceTests.csproj (in 11.13 sec).
Restored C:\Coding\dotnet\extensions\src\Analyzers\Microsoft.Analyzers.Local\Microsoft.Analyzers.Local.csproj (i
n 20 ms).
Restored C:\Coding\dotnet\extensions\bench\Libraries\Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTest
s\Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests.csproj (in 11.12 sec).
Restored C:\Coding\dotnet\extensions\bench\Libraries\Microsoft.Extensions.Diagnostics.Extra.PerformanceTests\Mic
rosoft.Extensions.Diagnostics.Extra.PerformanceTests.csproj (in 11.12 sec).
Restored C:\Coding\dotnet\extensions\bench\Libraries\Microsoft.Extensions.Http.Diagnostics.PerformanceTests\Micr
osoft.Extensions.Http.Diagnostics.PerformanceTests.csproj (in 241 ms).
Restored C:\Coding\dotnet\extensions\bench\Libraries\Microsoft.Extensions.Http.Resilience.PerformanceTests\Micro
soft.Extensions.Http.Resilience.PerformanceTests.csproj (in 271 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.EnumStrings\Microsoft.Extensions.EnumStr
ings.csproj (in 13 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Diagnostics.ExceptionSummarization\Micro
soft.Extensions.Diagnostics.ExceptionSummarization.csproj (in 22 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.DependencyInjection.AutoActivation\Micro
soft.Extensions.DependencyInjection.AutoActivation.csproj (in 30 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Diagnostics.ExtraAbstractions\Microsoft.
Extensions.Diagnostics.ExtraAbstractions.csproj (in 35 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.AspNetCore.AsyncState.Tests\Microsoft.AspNetCore.A
syncState.Tests.csproj (in 98 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.Metrics\Unit\Microsoft.Gen.Metrics.Unit.Tests
.csproj (in 82 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Http.AutoClient\Microsoft.Extensions.Htt
p.AutoClient.csproj (in 51 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Http.Diagnostics\Microsoft.Extensions.Ht
tp.Diagnostics.csproj (in 49 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Hosting.Testing\Microsoft.Extensions.Hos
ting.Testing.csproj (in 67 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Compliance.Testing\Microsoft.Extensions.
Compliance.Testing.csproj (in 32 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Compliance.Redaction\Microsoft.Extension
s.Compliance.Redaction.csproj (in 24 ms).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.AspNetCore.Diagnostics.Middleware.Tests\Microsoft.
AspNetCore.Diagnostics.Middleware.Tests.csproj (in 158 ms).
Restored C:\Coding\dotnet\extensions\test\Generators\Microsoft.Gen.Metrics\Generated\Microsoft.Gen.Metrics.Gener
ated.Tests.csproj (in 149 ms).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtiliza
tion\Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.csproj (in 2.86 sec).
Restored C:\Coding\dotnet\extensions\src\Libraries\Microsoft.Extensions.Diagnostics.ResourceMonitoring\Microsoft
.Extensions.Diagnostics.ResourceMonitoring.csproj (in 2.95 sec).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtiliz
ation.Tests\Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests.csproj (in 3.72 sec).
Restored C:\Coding\dotnet\extensions\test\Libraries\Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests\Mi
crosoft.Extensions.Diagnostics.ResourceMonitoring.Tests.csproj (in 3.74 sec).
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : Unable to l
oad the service index for source https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal-tooling/nuget/v
3/index.json. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.ServiceIndexResourceV3Provider.GetServiceIndexResourceV3(SourceRepository source, DateTime utcNow, ILogg
er log, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.ServiceIndexResourceV3Provider.TryCreate(SourceRepository source, CancellationToken token) [C:\Coding\do
tnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Core.Types.SourceRepository.GetResourceAsync[T](CancellationToken token) [C:\Coding\dotnet\extensions\ex
tensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Providers.VulnerabilityInfoResourceV3Provider.TryCreate(SourceRepository source, CancellationToken token
) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Core.Types.SourceRepository.GetResourceAsync[T](CancellationToken token) [C:\Coding\dotnet\extensions\ex
tensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.VulnerabilityInformationProvider.GetVulnerabilityInfoAsync() [C:\Coding\dotnet\extensions\extensions.sln
]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.VulnerabilityInformationProvider.GetVulnerabilityInformationAsync(CancellationToken cancellationToken) [
C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.Restore.Utility.AuditUtility.GetAllVulnerabilityDataAsync(CancellationToken cancellationToken) [C:\Codin
g\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.Restore.Utility.AuditUtility.CheckPackageVulnerabilitiesAsync(CancellationToken cancellationToken) [C:\C
oding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreCommand.PerformAuditAsync(EnabledValue enableAudit, IEnumerable`1 graphs, TelemetryActivity telem
etry, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreCommand.ExecuteAsync(CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.ExecuteAsync(RestoreSummaryRequest summaryRequest, CancellationToken token) [C:\Coding\dot
net\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.ExecuteAndCommitAsync(RestoreSummaryRequest summaryRequest, IRestoreProgressReporter progr
essReporter, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.CompleteTaskAsync(List`1 restoreTasks) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.RunAsync(IEnumerable`1 restoreRequests, RestoreArgs restoreArgs, CancellationToken token)
[C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.RunAsync(RestoreArgs restoreContext, CancellationToken token) [C:\Coding\dotnet\extensions
\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Build.Tasks.BuildTasksUtility.RestoreAsync(DependencyGraphSpec dependencyGraphSpec, Boolean interactive, Boolean
recursive, Boolean noCache, Boolean ignoreFailedSources, Boolean disableParallel, Boolean force, Boolean forceEval
uate, Boolean hideWarningsAndErrors, Boolean restorePC, Boolean cleanupAssetsForUnsupportedProjects, ILogger log,
CancellationToken cancellationToken) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Build.Tasks.Console.MSBuildStaticGraphRestore.RestoreAsync(String entryProjectFilePath, IDictionary`2 globalPrope
rties, IReadOnlyDictionary`2 options) [C:\Coding\dotnet\extensions\extensions.sln]
Build FAILED.
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.Manifest
Tool.CrossPlatform (>= 2.1.3)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is enabled, the following
source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.VisualSt
udioEng.MicroBuild.Core (>= 1.0.0)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is enabled, the follo
wing source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\eng\common\internal\Tools.csproj : error NU1100: Unable to resolve 'Microsoft.VisualSt
udioEng.MicroBuild.Plugins.SwixBuild (>= 1.1.286)' for '.NETFramework,Version=v4.7.2'. PackageSourceMapping is ena
bled, the following source(s) were not considered: dotnet-core-internal-tooling. [C:\Coding\dotnet\extensions\exte
nsions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : Unable to l
oad the service index for source https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal-tooling/nuget/v
3/index.json. [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.ServiceIndexResourceV3Provider.GetServiceIndexResourceV3(SourceRepository source, DateTime utcNow, ILogg
er log, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.ServiceIndexResourceV3Provider.TryCreate(SourceRepository source, CancellationToken token) [C:\Coding\do
tnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Core.Types.SourceRepository.GetResourceAsync[T](CancellationToken token) [C:\Coding\dotnet\extensions\ex
tensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Providers.VulnerabilityInfoResourceV3Provider.TryCreate(SourceRepository source, CancellationToken token
) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Protocol.Core.Types.SourceRepository.GetResourceAsync[T](CancellationToken token) [C:\Coding\dotnet\extensions\ex
tensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.VulnerabilityInformationProvider.GetVulnerabilityInfoAsync() [C:\Coding\dotnet\extensions\extensions.sln
]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.VulnerabilityInformationProvider.GetVulnerabilityInformationAsync(CancellationToken cancellationToken) [
C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.Restore.Utility.AuditUtility.GetAllVulnerabilityDataAsync(CancellationToken cancellationToken) [C:\Codin
g\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.Restore.Utility.AuditUtility.CheckPackageVulnerabilitiesAsync(CancellationToken cancellationToken) [C:\C
oding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreCommand.PerformAuditAsync(EnabledValue enableAudit, IEnumerable`1 graphs, TelemetryActivity telem
etry, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreCommand.ExecuteAsync(CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.ExecuteAsync(RestoreSummaryRequest summaryRequest, CancellationToken token) [C:\Coding\dot
net\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.ExecuteAndCommitAsync(RestoreSummaryRequest summaryRequest, IRestoreProgressReporter progr
essReporter, CancellationToken token) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.CompleteTaskAsync(List`1 restoreTasks) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.RunAsync(IEnumerable`1 restoreRequests, RestoreArgs restoreArgs, CancellationToken token)
[C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Commands.RestoreRunner.RunAsync(RestoreArgs restoreContext, CancellationToken token) [C:\Coding\dotnet\extensions
\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Build.Tasks.BuildTasksUtility.RestoreAsync(DependencyGraphSpec dependencyGraphSpec, Boolean interactive, Boolean
recursive, Boolean noCache, Boolean ignoreFailedSources, Boolean disableParallel, Boolean force, Boolean forceEval
uate, Boolean hideWarningsAndErrors, Boolean restorePC, Boolean cleanupAssetsForUnsupportedProjects, ILogger log,
CancellationToken cancellationToken) [C:\Coding\dotnet\extensions\extensions.sln]
C:\Coding\dotnet\extensions\.dotnet\sdk\9.0.100-alpha.1.23502.7\NuGet.RestoreEx.targets(19,5): error : at NuGet
.Build.Tasks.Console.MSBuildStaticGraphRestore.RestoreAsync(String entryProjectFilePath, IDictionary`2 globalPrope
rties, IReadOnlyDictionary`2 options) [C:\Coding\dotnet\extensions\extensions.sln]
0 Warning(s)
4 Error(s)
Time Elapsed 00:01:23.38
Build failed with exit code 1. Check errors above.
β― dotnet --info
Host:
Version: 8.0.0-rc.1.23419.4
Architecture: x64
Commit: 92959931a3
RID: win-x64
.NET SDKs installed:
6.0.317 [C:\Program Files\dotnet\sdk]
6.0.414 [C:\Program Files\dotnet\sdk]
7.0.308 [C:\Program Files\dotnet\sdk]
7.0.401 [C:\Program Files\dotnet\sdk]
8.0.100-rc.1.23455.8 [C:\Program Files\dotnet\sdk]
8.0.100-rc.1.23463.5 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0-rc.1.23421.29 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0-rc.1.23419.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.0-rc.1.23420.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
C:\Coding\dotnet\extensions\global.json
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
If I run restore.sh
in WSL (where it's a completely fresh clone as I've never built this repo there before) the build succeeds:
martin@JET-8031311:~/coding/dotnet/extensions$ ./restore.sh
[INFO] Building the default project as configured in eng/Build.props...
Downloading 'https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh'
Attempting to install 'sdk v9.0.100-alpha.1.23502.7' from public_location.
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Sdk/9.0.100-alpha.1.23502.7/dotnet-sdk-9.0.100-alpha.1.23502.7-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/Sdk/9.0.100-alpha.1.23502.7/dotnet-sdk-9.0.100-alpha.1.23502.7-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/Sdk/9.0.100-alpha.1.23502.7/dotnet-sdk-9.0.100-alpha.1.23502.7-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/Sdk/9.0.100-alpha.1.23502.7/dotnet-sdk-9.0.100-alpha.1.23502.7-linux-x64.tar.gz size is 211665134 bytes.
dotnet-install: Extracting zip from https://dotnetbuilds.azureedge.net/public/Sdk/9.0.100-alpha.1.23502.7/dotnet-sdk-9.0.100-alpha.1.23502.7-linux-x64.tar.gz
dotnet-install: Downloaded file size is 211665134 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 9.0.100-alpha.1.23502.7
dotnet-install: Adding to current process PATH: `/home/martin/coding/dotnet/extensions/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Welcome to .NET 9.0!
---------------------
SDK Version: 9.0.100-alpha.1.23502.7
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, view the instructions: https://aka.ms/dotnet-https-linux
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Determining projects to restore...
Tool 'dotnet-coverage' (version '17.8.2') was restored. Available commands: dotnet-coverage
Tool 'dotnet-reportgenerator-globaltool' (version '5.1.19') was restored. Available commands: reportgenerator
Tool 'microsoft.visualstudio.slngen.tool' (version '10.4.0') was restored. Available commands: slngen
Tool 'powershell' (version '7.3.3') was restored. Available commands: pwsh
Restore was successful.
Restored /home/martin/.nuget/packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.23463.1/tools/Tools.proj (in 10.69 sec).
Attempting to install runtime toolset 'dotnet/x64 v8.0.0-rtm.23475.7' from public_location.
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Runtime/8.0.0-rtm.23475.7/dotnet-runtime-8.0.0-rtm.23475.7-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/Runtime/8.0.0-rtm.23475.7/dotnet-runtime-8.0.0-rtm.23475.7-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/Runtime/8.0.0-rtm.23475.7/dotnet-runtime-8.0.0-rtm.23475.7-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/Runtime/8.0.0-rtm.23475.7/dotnet-runtime-8.0.0-rtm.23475.7-linux-x64.tar.gz size is 31262125 bytes.
dotnet-install: Extracting zip from https://dotnetbuilds.azureedge.net/public/Runtime/8.0.0-rtm.23475.7/dotnet-runtime-8.0.0-rtm.23475.7-linux-x64.tar.gz
dotnet-install: Downloaded file size is 31262125 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 8.0.0-rtm.23475.7
dotnet-install: Adding to current process PATH: `/home/martin/coding/dotnet/extensions/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Attempting to install runtime toolset 'dotnet/x64 v9.0.0-alpha.1.23470.17' from public_location.
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Runtime/9.0.0-alpha.1.23470.17/dotnet-runtime-9.0.0-alpha.1.23470.17-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/Runtime/9.0.0-alpha.1.23470.17/dotnet-runtime-9.0.0-alpha.1.23470.17-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/Runtime/9.0.0-alpha.1.23470.17/dotnet-runtime-9.0.0-alpha.1.23470.17-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/Runtime/9.0.0-alpha.1.23470.17/dotnet-runtime-9.0.0-alpha.1.23470.17-linux-x64.tar.gz size is 31368677 bytes.
dotnet-install: Extracting zip from https://dotnetbuilds.azureedge.net/public/Runtime/9.0.0-alpha.1.23470.17/dotnet-runtime-9.0.0-alpha.1.23470.17-linux-x64.tar.gz
dotnet-install: Downloaded file size is 31368677 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 9.0.0-alpha.1.23470.17
dotnet-install: Adding to current process PATH: `/home/martin/coding/dotnet/extensions/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Attempting to install runtime toolset 'aspnetcore/x64 v8.0.0-rtm.23475.5' from public_location.
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/8.0.0-rtm.23475.5/aspnetcore-runtime-8.0.0-rtm.23475.5-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/8.0.0-rtm.23475.5/aspnetcore-runtime-8.0.0-rtm.23475.5-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/8.0.0-rtm.23475.5/aspnetcore-runtime-8.0.0-rtm.23475.5-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/8.0.0-rtm.23475.5/aspnetcore-runtime-8.0.0-rtm.23475.5-linux-x64.tar.gz size is 41859768 bytes.
dotnet-install: Extracting zip from https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/8.0.0-rtm.23475.5/aspnetcore-runtime-8.0.0-rtm.23475.5-linux-x64.tar.gz
dotnet-install: Downloaded file size is 41859768 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 8.0.0-rtm.23475.5
dotnet-install: Adding to current process PATH: `/home/martin/coding/dotnet/extensions/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Attempting to install runtime toolset 'aspnetcore/x64 v9.0.0-alpha.1.23476.39' from public_location.
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/9.0.0-alpha.1.23476.39/aspnetcore-runtime-9.0.0-alpha.1.23476.39-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/9.0.0-alpha.1.23476.39/aspnetcore-runtime-9.0.0-alpha.1.23476.39-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/9.0.0-alpha.1.23476.39/aspnetcore-runtime-9.0.0-alpha.1.23476.39-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/9.0.0-alpha.1.23476.39/aspnetcore-runtime-9.0.0-alpha.1.23476.39-linux-x64.tar.gz size is 41984678 bytes.
dotnet-install: Extracting zip from https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/9.0.0-alpha.1.23476.39/aspnetcore-runtime-9.0.0-alpha.1.23476.39-linux-x64.tar.gz
dotnet-install: Downloaded file size is 41984678 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 9.0.0-alpha.1.23476.39
dotnet-install: Adding to current process PATH: `/home/martin/coding/dotnet/extensions/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Determining projects to restore...
Restored /home/martin/coding/dotnet/extensions/src/Packages/Microsoft.Extensions.ExtraAnalyzers/Microsoft.Extensions.ExtraAnalyzers.csproj (in 24.32 sec).
Restored /home/martin/coding/dotnet/extensions/src/Packages/Microsoft.Extensions.AuditReports/Microsoft.Extensions.AuditReports.csproj (in 24.32 sec).
Restored /home/martin/coding/dotnet/extensions/src/Generators/Microsoft.Gen.Metrics/Microsoft.Gen.Metrics.csproj (in 40.5 sec).
Restored /home/martin/coding/dotnet/extensions/src/Generators/Microsoft.Gen.EnumStrings/Microsoft.Gen.EnumStrings.csproj (in 40.5 sec).
Restored /home/martin/coding/dotnet/extensions/src/Generators/Microsoft.Gen.ContextualOptions/Microsoft.Gen.ContextualOptions.csproj (in 40.5 sec).
Restored /home/martin/coding/dotnet/extensions/src/Generators/Microsoft.Gen.Logging/Microsoft.Gen.Logging.csproj (in 40.5 sec).
Restored /home/martin/coding/dotnet/extensions/src/Generators/Microsoft.Gen.ComplianceReports/Microsoft.Gen.ComplianceReports.csproj (in 40.51 sec).
Restored /home/martin/coding/dotnet/extensions/src/Generators/Microsoft.Gen.AutoClient/Microsoft.Gen.AutoClient.csproj (in 12 ms).
Restored /home/martin/coding/dotnet/extensions/src/Analyzers/Microsoft.Analyzers.Local/Microsoft.Analyzers.Local.csproj (in 2.93 sec).
Restored /home/martin/coding/dotnet/extensions/src/Analyzers/Microsoft.Analyzers.Extra/Microsoft.Analyzers.Extra.csproj (in 5 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Hosting.Testing.Tests/Microsoft.Extensions.Hosting.Testing.Tests.csproj (in 43.57 sec).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Http.AutoClient.Tests/Microsoft.Extensions.Http.AutoClient.Tests.csproj (in 43.58 sec).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Http.Diagnositcs.Tests/Microsoft.Extensions.Http.Diagnostics.Tests.csproj (in 43.57 sec).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Http.Resilience.Tests/Microsoft.Extensions.Http.Resilience.Tests.csproj (in 43.58 sec).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.ObjectPool.DependencyInjection.Tests/Microsoft.Extensions.ObjectPool.DependencyInjection.Tests.csproj (in 51 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.AutoClient/Generated/Microsoft.Gen.AutoClient.Generated.Tests.csproj (in 61 ms).
Restored /home/martin/coding/dotnet/extensions/test/Analyzers/Microsoft.Analyzers.Extra.Tests/Microsoft.Analyzers.Extra.Tests.csproj (in 38 ms).
Restored /home/martin/coding/dotnet/extensions/src/Packages/Microsoft.Extensions.StaticAnalysis/Microsoft.Extensions.StaticAnalysis.csproj (in 6 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Compliance.Testing.Tests/Microsoft.Extensions.Compliance.Testing.Tests.csproj (in 57 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Compliance.Redaction.Tests/Microsoft.Extensions.Compliance.Redaction.Tests.csproj (in 51 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Compliance.Abstractions.Tests/Microsoft.Extensions.Compliance.Abstractions.Tests.csproj (in 49 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.AsyncState.Tests/Microsoft.Extensions.AsyncState.Tests.csproj (in 60 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.AmbientMetadata.Application.Tests/Microsoft.Extensions.AmbientMetadata.Application.Tests.csproj (in 79 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.AspNetCore.Testing/Microsoft.AspNetCore.Testing.csproj (in 5 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.AspNetCore.HeaderParsing/Microsoft.AspNetCore.HeaderParsing.csproj (in 12 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.EnumStrings.Tests/Microsoft.Extensions.EnumStrings.Tests.csproj (in 53 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.Testing.Tests/Microsoft.Extensions.Diagnostics.Testing.Tests.csproj (in 85 ms).
Restored /home/martin/coding/dotnet/extensions/test/Analyzers/Microsoft.Analyzers.Local.Tests/Microsoft.Analyzers.Local.Tests.csproj (in 1.22 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.ExceptionSummarization/Microsoft.Extensions.Diagnostics.ExceptionSummarization.csproj (in 4.62 sec).
Restored /home/martin/coding/dotnet/extensions/src/Shared/Shared.csproj (in 1.46 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Options.Contextual/Microsoft.Extensions.Options.Contextual.csproj (in 20.79 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.TimeProvider.Testing/Microsoft.Extensions.TimeProvider.Testing.csproj (in 45.14 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.ExtraAbstractions/Microsoft.Extensions.Diagnostics.ExtraAbstractions.csproj (in 4.62 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation/Microsoft.Extensions.DependencyInjection.AutoActivation.csproj (in 4.62 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.Common/Microsoft.Extensions.Diagnostics.HealthChecks.Common.csproj (in 20.8 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Resilience/Microsoft.Extensions.Resilience.csproj (in 45.15 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Hosting.Testing/Microsoft.Extensions.Hosting.Testing.csproj (in 45.15 sec).
Restored /home/martin/coding/dotnet/extensions/src/Generators/Microsoft.Gen.MetricsReports/Microsoft.Gen.MetricsReports.csproj (in 11 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.Extra/Microsoft.Extensions.Diagnostics.Extra.csproj (in 4.62 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware/Microsoft.AspNetCore.Diagnostics.Middleware.csproj (in 17 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Http.Diagnostics/Microsoft.Extensions.Http.Diagnostics.csproj (in 45.15 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Http.AutoClient/Microsoft.Extensions.Http.AutoClient.csproj (in 45.16 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.AspNetCore.AsyncState/Microsoft.AspNetCore.AsyncState.csproj (in 16 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Compliance.Testing/Microsoft.Extensions.Compliance.Testing.csproj (in 7 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Compliance.Abstractions/Microsoft.Extensions.Compliance.Abstractions.csproj (in 8 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Compliance.Redaction/Microsoft.Extensions.Compliance.Redaction.csproj (in 10 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.AsyncState/Microsoft.Extensions.AsyncState.csproj (in 10 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/Microsoft.Extensions.AmbientMetadata.Application.csproj (in 17 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.ComplianceReports/Unit/Microsoft.Gen.ComplianceReports.Unit.Tests.csproj (in 35 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.ContextualOptions/Unit/Microsoft.Gen.ContextualOptions.Unit.Tests.csproj (in 44 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.AutoClient/Unit/Microsoft.Gen.AutoClient.Unit.Tests.csproj (in 41 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.ContextualOptions/Generated/Microsoft.Gen.ContextualOptions.Generated.Tests.csproj (in 54 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.EnumStrings/Generated/Microsoft.Gen.EnumStrings.Generated.Tests.csproj (in 57 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.MetricsReports/Unit/Microsoft.Gen.MetricsReports.Unit.Tests.csproj (in 42 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.AspNetCore.HeaderParsing.Tests/Microsoft.AspNetCore.HeaderParsing.Tests.csproj (in 61 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.AspNetCore.Testing.Tests/Microsoft.AspNetCore.Testing.Tests.csproj (in 71 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Resilience.Tests/Microsoft.Extensions.Resilience.Tests.csproj (in 56 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Options.ContextualOptions.Tests/Microsoft.Extensions.Options.Contextual.Tests.csproj (in 67 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests/Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests.csproj (in 42 ms).
Restored /home/martin/coding/dotnet/extensions/test/Shared/Shared.Tests.csproj (in 91 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests/Microsoft.Extensions.DependencyInjection.AutoActivation.Tests.csproj (in 61 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware.Tests/Microsoft.AspNetCore.Diagnostics.Middleware.Tests.csproj (in 130 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.AspNetCore.AsyncState.Tests/Microsoft.AspNetCore.AsyncState.Tests.csproj (in 128 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.TimeProvider.Testing.Tests/Microsoft.Extensions.TimeProvider.Testing.Tests.csproj (in 135 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.Extra.Tests/Microsoft.Extensions.Diagnostics.Extra.Tests.csproj (in 117 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.Metrics/Unit/Microsoft.Gen.Metrics.Unit.Tests.csproj (in 38 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.Logging/Unit/Microsoft.Gen.Logging.Unit.Tests.csproj (in 47 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.ExtraAbstractions.Tests/Microsoft.Extensions.Diagnostics.ExtraAbstractions.Tests.csproj (in 66 ms).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests/Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests.csproj (in 100 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.ObjectPool.DependencyInjection/Microsoft.Extensions.ObjectPool.DependencyInjection.csproj (in 34 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.EnumStrings/Microsoft.Extensions.EnumStrings.csproj (in 11 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Http.Resilience/Microsoft.Extensions.Http.Resilience.csproj (in 44 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.EnumStrings/Unit/Microsoft.Gen.EnumStrings.Unit.Tests.csproj (in 76 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.Testing/Microsoft.Extensions.Diagnostics.Testing.csproj (in 54 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.Metrics/Generated/Microsoft.Gen.Metrics.Generated.Tests.csproj (in 199 ms).
Restored /home/martin/coding/dotnet/extensions/test/Generators/Microsoft.Gen.Logging/Generated/Microsoft.Gen.Logging.Generated.Tests.csproj (in 169 ms).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.Probes/Microsoft.Extensions.Diagnostics.Probes.csproj (in 48 ms).
Restored /home/martin/coding/dotnet/extensions/test/TestUtilities/TestUtilities.csproj (in 3.77 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring/Microsoft.Extensions.Diagnostics.ResourceMonitoring.csproj (in 3.38 sec).
Restored /home/martin/coding/dotnet/extensions/src/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.csproj (in 3.31 sec).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests/Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests.csproj (in 3.81 sec).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests/Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests.csproj (in 4.59 sec).
Restored /home/martin/coding/dotnet/extensions/test/Libraries/Microsoft.Extensions.Diagnostics.Probes.Tests/Microsoft.Extensions.Diagnostics.Probes.Tests.csproj (in 6.61 sec).
Restored /home/martin/coding/dotnet/extensions/eng/build.proj (in 13.95 sec).
Restored /home/martin/coding/dotnet/extensions/bench/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests/Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests.csproj (in 13.72 sec).
Restored /home/martin/coding/dotnet/extensions/bench/Libraries/Microsoft.Extensions.Resilience.PerformanceTests/Microsoft.Extensions.Resilience.PerformanceTests.csproj (in 15.45 sec).
Restored /home/martin/coding/dotnet/extensions/bench/Libraries/Microsoft.Extensions.Http.Diagnostics.PerformanceTests/Microsoft.Extensions.Http.Diagnostics.PerformanceTests.csproj (in 13.74 sec).
Restored /home/martin/coding/dotnet/extensions/bench/Libraries/Microsoft.Extensions.Http.Resilience.PerformanceTests/Microsoft.Extensions.Http.Resilience.PerformanceTests.csproj (in 13.77 sec).
Restored /home/martin/coding/dotnet/extensions/bench/Libraries/Microsoft.Extensions.Diagnostics.Extra.PerformanceTests/Microsoft.Extensions.Diagnostics.Extra.PerformanceTests.csproj (in 13.73 sec).
Restored /home/martin/coding/dotnet/extensions/bench/Generators/Microsoft.Gen.EnumStrings.PerformanceTests/Microsoft.Gen.EnumStrings.PerformanceTests.csproj (in 13.71 sec).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:02:19.93
Thanks @martincostello . You're right to not post a binlog publicly: we usually recommend opening a dummy VS feedback issue and sharing the link here. (I don't have context on this issue)
Thanks - do you have a link to where to file those, I don't think I've made one of those in a very long time...
I think here
https://developercommunity.visualstudio.com/dotnet?ftype=problem
It's for .NET Framework but ignore that.
Thanks - Feedback item is here
Cool - back to @RussKie then
this may be a side note but… succeeding on Linux or Linux-like systems but failing on Windows is expected when the problem is the code attempting to real sign without appropriate rights to the Microbuild tooling. what you want to find in the binary log are the properties causing the Windows build to attempt real signing outside an official build. or, look at the sign-related properties in the pipeline YAML to see what settings should be conditional
@dougbu there is no yaml involved here, just plain local restore.
usually msbuild
properties are set on the command line and defaulted in *.csproj
, *.props
, and *.targets
files. it sounds like something defaults to true
in your non-YAML files rather than having YAML override the defaults to do signing. both will likely need to change
@martincostello I cloned the repo on my personal computer (not connected to the corp network and not managed by the company) and I was able to restore and build the repo without any dramas using restore.cmd
and build.cmd
.
I also removed C:\Users\<user>\.nuget
folder to ensure all packages would come from the remote feeds.
Without a binlog it's really hard to tell what's going on for you locally.
There's a binlog file in the VS Feedback item I logged.
So I've gotten to the bottom of what's going on here.
If you open the repository in Visual Studio Code with the C# Dev Kit installed and there is no .sln
file in the root of the repository (e.g. a fresh clone and you've not generated one yourself), the C# Dev Kit will auto-generate a solution file for you by finding every project in the repository and automatically adding it to that file. The contents of the file automatically generated is included below.
If you then run restore.cmd
after that file has been generated, the build process will find and use that solution file, at which point all the internal tooling kicks in, and then breaks the build with the issue as described above if you're not a Microsoft employee with access to those resources.
If I close Visual Studio Code and delete the extensions.sln
file, then restore.cmd
succeeds.
To stop people running into this problem in the future, maybe it's worth adding a "kitchen sink" solution file to the repository (like AspNetCore.sln) so this "helpful" feature of the C# Dev Kit doesn't kick in and cause broken builds, confusion and wasted time?
Ahh -- good find @martincostello . thanks for figuring that out.
Yes, we should have a sln file then. Would you perhaps push your working one up as a PR?
Have proposed an sln
file in #4509.
Just looking into this. Would this be solved as well if insetad of creating a new sln, we just move the existing one to the root of the repo? If so, I think that is prefered over having two different sln files.
I'll wait for you folks to decide what the best pragmatic solution going forward for this is (putting pressure on the C# Dev Kit team to fix their "feature", doing something about a solution file, adding documentation about this quirk, ...), but I think something needs to be done.
Otherwise I feel a future external contributor will inevitably waste their, and your, time trying to work out why they can't get things to build.
Thank you, we appreciate your feedback.
Alternate proposed solution in #4517.
Description
As part of #4483 I tried to build the solution locally, but package restore fails.
At first it failed with this error:
Then I edited NuGet.config to add the following:
Now the build fails with the following error because I don't have access to the AzDo package feed for DevDiv:
Reproduction Steps
Run
restore.cmd
while not being a Microsoft employee.Expected behavior
The solution successfully builds.
Actual behavior
The solution fails to restore NuGet packages.
Regression?
Unsure.
Known Workarounds
Get hired by Microsoft to work in DevDiv π
Configuration
8.0.100-rc.2.23462.28
Other information
No response