-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work] [regression] [worked-in:17.12?]
The following error randomly occurs multiple times during compilation of a large Blazor Web Assembly application.
More than one JS module files were found for the razor component 'Components\xxxx\Tools\ScrollToTopControl.razor'. Each razor component must have at most a single associated JS module file.
C:\Dev\xxxx\src\Apps\Apps.Toolkit\Client\Components\xxxx\Tools\ScrollToTopControl.razor.js
C:\dev\xxxx\src\Apps\Apps.Toolkit\Client\Components\xxxx\Tools\ScrollToTopControl.razor.js
I note that the 2 filenames mentioned are the same path, the only difference is the case of the "DEV" vs "dev" so it appears the file check is case sensitive.
Cleaning the solution sometimes fixes it. Switch between pre-release Visual Studio and release version sometimes clears the issue. No pattern to the fix was noted.
Original Comments
Feedback Bot on 5/30/2025, 07:07 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.