Skip to content

Conversation

@halter73
Copy link
Member

The goal here is to unblock the sdk's aspnetcore dependency update (dotnet/sdk#41509) which is currently failing with the following error from the smoke tests:

Microsoft.DotNet.SourceBuild.SmokeTests.WebScenarioTests.VerifyScenario
System.InvalidOperationException : Failed to execute /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/extracted-sdk/dotnet run --no-launch-profile /bl:/vmr/artifacts/TestResults/Release/WebScenarioTests_BlazorWasm_CSharp-run.binlog
Exit code: 150

You must install or update .NET to run this application.

App: /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/packages/microsoft.aspnetcore.components.webassembly.devserver/9.0.0-preview.6.24317.3/tools/blazor-devserver.dll
Architecture: x64
Framework: 'Microsoft.AspNetCore.App', version '9.0.0' (x64)
.NET location: /vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/extracted-sdk/

The following frameworks were found:
  9.0.0-preview.6.24317.3 at [/vmr/artifacts/bin/Microsoft.DotNet.SourceBuild.SmokeTests/Release/extracted-sdk/shared/Microsoft.AspNetCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=9.0.0&arch=x64&rid=centos.9-x64&os=centos.9

If this is the right approach, I'll make the same changes to #56181. I'm hoping that the sdk's aspnetcore dependency update for release/8.0 won't fail the same way since it's a servicing branch.

@halter73 halter73 requested review from javiercn and wtgodbe June 18, 2024 01:10
@halter73 halter73 requested a review from a team as a code owner June 18, 2024 01:10
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jun 18, 2024
@halter73 halter73 merged commit cad47d2 into main Jun 18, 2024
@halter73 halter73 deleted the halter73/fix-sdk-insertion branch June 18, 2024 19:26
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0-preview6 milestone Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants