Title: "Conflicting assets with the same target path" error message from Microsoft.NET.Sdk.Razor.StaticWebAssets.targets
Tags: asp.net-core
Question: I'm making a project for school, and decided on doing a theater-administration website. A part of the assignment says to include a small WPF that can use your own API.
However, when I added an API project to the solution it started giving me this error, and I don't understand what it means. Any help would be greatly appreciated!
I'm not allowed to embed images yet, so the screenshot will be in the link below.
Error Message
Comment: It's hard to find the real cause with just the error message.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2022:00:05/23/22', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<asp.net-core>', 'Title': '"Conflicting assets with the same target path" error message from Microsoft.NET.Sdk.Razor.StaticWebAssets.targets', 'ViewCount': 130, 'id': 72347619, 'user_AboutMe': None, 'user_AccountId': 21703183.0, 'user_DisplayName': 'Ngaard', 'user_Reputation': 11.0, 'user_Views': 3.0, 'user_id': 16016086.0}}