Skip to content

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Jul 22, 2023

Fixes test bugs in two tests, that are blocking #34077.
These tests were calling Execute($"/p:PublishSingleFile=true /p:RuntimeIdentifier={RuntimeInformation.RuntimeIdentifier}"), which was setting the value of PublishSingleFile to true /p:RuntimeIdentifier=<RID>. The two MSBuild properties should have been passed as separate arguments to Execute.

This was resulting in the tests not actually publishing single-file, and not setting the RID. Fixing this required updating the tests to expect RID-specific static web assets. The expected manifests were then updated by running the update-test-baselines.ps1 script.

@sbomer sbomer requested a review from a team as a code owner July 22, 2023 01:07
@ghost ghost added Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch untriaged Request triage from a team member labels Jul 22, 2023
@ghost
Copy link

ghost commented Jul 22, 2023

Thanks for your PR, @sbomer.
To learn about the PR process and branching schedule of this repo, please take a look at the SDK PR Guide.

@sbomer sbomer requested review from eerhardt and javiercn July 24, 2023 15:10
@sbomer sbomer merged commit c82e54d into dotnet:main Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants