Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Web/AdminPanel/MUnique.OpenMU.Web.AdminPanel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
<WarningsAsErrors>nullable;CS4014;VSTHRD110;VSTHRD100</WarningsAsErrors>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!-- Set base path for static web assets to avoid conflicts when referenced by other web apps.
Required for .NET 10+ where WebApp-to-WebApp references are unsupported.
Also resolves asset path conflicts in .NET 9 when AdminPanel and Map both have wwwroot/css/site.css.
Note: Standalone Program.cs in this project won't serve assets correctly.
Use Startup or AdminPanel.Host projects to run the admin panel. -->
<StaticWebAssetBasePath>_content/$(MSBuildProjectName)</StaticWebAssetBasePath>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions src/Web/Map/MUnique.OpenMU.Web.Map.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<DocumentationFile></DocumentationFile>
<!-- Set base path for static web assets to avoid conflicts when referenced by other web apps.
Required for .NET 10+ where WebApp-to-WebApp references are unsupported.
Also resolves asset path conflicts in .NET 9 when AdminPanel and Map both have wwwroot/css/site.css.
Note: Standalone Program.cs in this project won't serve assets correctly.
Use GameServer.Host project to run the map viewer. -->
<StaticWebAssetBasePath>_content/$(MSBuildProjectName)</StaticWebAssetBasePath>

<!--UseRazorSourceGenerator>false</UseRazorSourceGenerator-->
</PropertyGroup>
Expand Down
Loading