-
-
Notifications
You must be signed in to change notification settings - Fork 500
Open
Labels
bugIssues describing a bug or pull requests fixing a bug.Issues describing a bug or pull requests fixing a bug.
Description
Describe the bug
Using Boxed.API Project Template and Visual Studio 2022 the outputting Project won't compile. The build fails with **Two assets found targeting the same path with incompatible asset kinds:
'C:\code\scratch\api.boxed\api.boxed\api.boxed\Source\api.boxed\wwwroot.well-known\security.txt' with kind 'All'
'C:\code\scratch\api.boxed\api.boxed\api.boxed\Source\api.boxed\wwwroot.well-known\security.txt' with kind 'All'
for path '.well-known/security.txt' api.boxed C:\Program Files\dotnet\sdk\7.0.302\Sdks\Microsoft.NET.Sdk.Razor\targets\Microsoft.NET.Sdk.Razor.StaticWebAssets.targets 419
Steps to reproduce
- Create New Boxed API Project
- Select the following settings Source Control = None, Cloud Provider=Azure, Tick Open Telemetry, Logging = Serilog, Tick Application Insights, Tick = HTTPS, Tick = HSTS Preload, Distributed Cache = InMemory, Docker Registry = Docker Hub
- Click Create
- Compile the solution
- This should error with the above.
Expected behaviour
It should compile with no errors (and no warnings).
Template
AIP
.NET Boxed Version
Latest
Visual Studio Version
Visual Studio 2022
.NET Version
.NET 6
HugCoder and TrungNV31197
Metadata
Metadata
Assignees
Labels
bugIssues describing a bug or pull requests fixing a bug.Issues describing a bug or pull requests fixing a bug.