-
-
Notifications
You must be signed in to change notification settings - Fork 746
Closed
Description
Description
After upgrading Electron.NET Core from 0.3.0 to 0.3.1, the build fails with an exception related to missing metadata for generated static assets.
Environment
- Electron.NET Core: 0.3.1
- .NET SDK: 10
- Node.js: 24.12.0
- Target Runtime: win-x64
Error Message
No metadata 'SourceId' was present for item 'Components\Layout\ReconnectModal.razor.js' and no default value was provided.
I have observed the same issue in another project, where the error referenced different generated assets, such as:
*.razor.jsapp.css
Expected Behavior
The project should build successfully after upgrading Electron.NET Core from 0.3.0 to 0.3.1.
Actual Behavior
The build fails with a SourceId metadata exception related to generated static web assets.
Steps to Reproduce
- Create a new Blazor Web project.
- Add Electron.NET.
- Build the project.
Additional Notes
I've also saw that when re-opening the project the file affected by this exception can change, for example now it's "Components\Layout\MainLayout.razor.rz.scp.css", no idea how it calculates this static assets