dotnet / dotnet/sdk

Error when running Publish60Hosted_Works test on Ubuntu and OSX

Open
#42,145 0 comments 0 reactions 0 assignees View on GitHub
Area-AspNetCore Test Debt untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

**Issue Description:**
I encountered some issues when trying to run the [Publish60Hosted_Works ](https://github.com/dotnet/sdk/blob/main/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/BlazorLegacyIntegrationTest60.cs#L41)test. I have removed `Skip = "The Runtime pack resolves to 8.0 instead of 9.0"` and made some modifications, but there are still errors on Ubuntu and OSX. However, this test passes on Windows.

**Error Message:**
Expected collection to be empty because the generated manifest should match the expected baseline.

For ${ProjectPath}\Client\wwwroot\css\app.css: Expected manifest Identity of css/app.qu51q8el4h.css but found css/app.huxwljmsg5.css.

**Attempted Solutions and Results:**
I tried the following steps to update my SDK and regenerate the baseline, but the problem persists:
1. dotnet clean
2. .\restore.cmd or ./restore.sh
3. .\build.cmd ./build.sh
4. .\eng\dogfood.cmd or . ./eng/dogfood.sh
Then, using the dogfood SDK, I ran the .\src\RazorSdk\update-test-baselines.ps1 script.

**Environment Information:**
- dotnet --info

> .NET SDK:
> Version: 9.0.100-preview.5.24307.3
> Commit: 35b2c21ea6
> Workload version: 9.0.100-manifests.6407b7e4
> MSBuild version: 17.11.0-preview-24279-02+b963c24ef
>
> Runtime Environment:
> OS Name: Windows
> OS Version: 10.0.19045
> OS Platform: Windows
> RID: win-x64
> Base Path: C:\Program Files\dotnet\sdk\9.0.100-preview.5.24307.3\
>
> .NET workloads installed:
> Configured to use loose manifests when installing new manifests.
> [aspire]
> Installation Source: VS 17.11.35017.193
> Manifest Version: 9.0.0-preview.2.24163.9/9.0.100-preview.1
> Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100-preview.1\microsoft.net.sdk.aspire\9.0.0-preview.2.24163.9\WorkloadManifest.json
> Install Type: Msi
>
>
> Host:
> Version: 9.0.0-preview.5.24306.7
> Architecture: x64
> Commit: a5cc707d97
>
> .NET SDKs installed:
> 8.0.300 [C:\Program Files\dotnet\sdk]
> 9.0.100-preview.5.24307.3 [C:\Program Files\dotnet\sdk]
>
> .NET runtimes installed:
> Microsoft.AspNetCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
> Microsoft.AspNetCore.App 9.0.0-preview.5.24306.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
> Microsoft.NETCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
> Microsoft.NETCore.App 9.0.0-preview.5.24306.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
> Microsoft.WindowsDesktop.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
> Microsoft.WindowsDesktop.App 9.0.0-preview.5.24306.8 [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:
> Not found
>
> Learn more:
> https://aka.ms/dotnet/info
>
> Download .NET:
> https://aka.ms/dotnet/download

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.