-
Notifications
You must be signed in to change notification settings - Fork 453
Fix .NET 10 WebApp-to-WebApp static asset reference compatibility #671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: sven-n <5238610+sven-n@users.noreply.github.com>
|
@copilot Almost there, we just have an issue with Blazored.Modal. All other packages are loaded without problems. |
sven-n
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like I mentioned, there is a problem with Blazored.Modal.
… compatibility Co-authored-by: sven-n <5238610+sven-n@users.noreply.github.com>
... The The 404 errors are likely due to stale build artifacts. Please try:
The setting only affects the AdminPanel/Map project's own assets (like site.css), not NuGet package assets. See commit f939dc9 for explanatory comments in the project files. |
…ompatibility Co-authored-by: sven-n <5238610+sven-n@users.noreply.github.com>
|
Okay, the issue with Blazored.Modal persists, but this seems to be another issue. |
StaticWebAssetBasePathto MUnique.OpenMU.Web.AdminPanel.csproj (referenced by Startup and AdminPanel.Host)StaticWebAssetBasePathto MUnique.OpenMU.Web.Map.csproj (referenced by AdminPanel and GameServer.Host)Final Summary:
Fixed .NET 10 compatibility by adding
<StaticWebAssetBasePath>_content/$(MSBuildProjectName)</StaticWebAssetBasePath>to AdminPanel and Map projects. This resolves:wwwroot/css/site.csswhich would collideKey Points:
_content/PackageName/_content/ProjectName/Responded to user feedback: Blazored.Modal 404s are likely due to stale build artifacts - clean build should resolve (commit 9028016)
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.