Description
Publishing a Blazor Web App (targeting .NET 8, with Auto Render mode) and a Blazor WASM app (targeting .NET 8), both utilizing the localization feature, fails in .NET 9 RC 2.
Reproduction Steps
- Create a Blazor Web App targeting .NET 8 with Auto Render mode.
- Set up the dynamic localization feature.
- Attempt to publish the app.
An error occurs during publishing with the message: "Can't find the original satellite assembly in the list of resolved files to publish for asset," as shown in the screenshot below.

Sample.zip
Environment:
.NET SDK version: 9.0.100-rc.2.24474.11
Expected behavior
The application should publish successfully with all necessary localization files.
Actual behavior
Publishing fails due to a missing satellite assembly file.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response