[dotnet-sdk-10.0.100-preview.5.25272.110] Apps build failed with error "Conflicting assets with the same target path" #62138
Labels
area-ui-rendering
Includes: MVC Views/Pages, Razor Views/Pages
Needs: Attention 👋
This issue needs the attention of a contributor, typically because the OP has provided an update.
Is there an existing issue for this?
Describe the bug
Starting from .NET 10 Preview 4, building the third-party applications with the latest .NET 10 build, it fails with error "Conflicting assets with the same target path" if there are two wwwroot folders.
Application Name: grandnode2, OpenMU
OS: Windows 10 21H2
CPU: X64
.NET Build Number: dotnet-sdk-10.0.100-preview.5.25272.110
App Source checking at: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2492267
Or Github Link:
https://github.com/grandnode/grandnode2
https://github.com/MUnique/OpenMU
Verify Scenarios:
1). Windows 10 21H2 AMD64 + dotnet-sdk-8.0.400: Pass
2). Windows 10 21H2 AMD64 + dotnet-sdk-9.0.104: Pass
3). Windows 10 21H2 AMD64 + dotnet-sdk-10.0.100-preview.3.25201.16: Pass
4). Windows 10 21H2 AMD64 + dotnet-sdk-10.0.100-preview.4.25258.110: Fail
5). Windows 10 21H2 AMD64 + dotnet-sdk-10.0.100-preview.5.25272.110: Fail
Expected Behavior
Build successfully.
Steps To Reproduce
App Repro Steps:
The machine has dotnet-sdk-10.0.100-preview.5.25272.110 installed.
Demo Repro Steps: (Demo attached: WebDemo)
The machine has dotnet-sdk-10.0.100-preview.5.25272.110 installed.
Exceptions (if any)
Build failed with error:
.NET Version
10.0.100-preview.5.25272.110
Anything else?
Findings:
If delete grandnode2\src\Web\Grand.Web.Vendor\wwwroot and grandnode2\src\Web\Grand.Web.Admin\wwwroot, Grand.Web can build successfully.
Dotnet Info:
@dotnet-actwx-bot @dotnet/compat
The text was updated successfully, but these errors were encountered: