Conflicting Assets

Hello!

I am having the following error once I updated to 4.4.0. Maybe I am doing something wrong. Hopefully you can help me out.

Conflicting assets with the same target path '_content/Radzen.Blazor/css/dark.css'. For 'All' assets 'Identity: C:\Users[user].nuget\packages\radzen.blazor\4.0.0\staticwebassets\css\dark.css, SourceType: Package, SourceId: Radzen.Blazor, ContentRoot: C:\Users\claudio.nuget\packages\radzen.blazor\4.0.0\staticwebassets, BasePath: _content/Radzen.Blazor, RelativePath: css/dark.css, AssetKind: All, AssetMode: All, AssetRole: Primary, RelatedAsset: , AssetTraitName: , AssetTraitValue: , CopyToOutputDirectory: Never, CopyToPublishDirectory: PreserveNewest, OriginalItemSpec: C:\Users[user].nuget\packages\radzen.blazor\4.0.0\staticwebassets\css\dark.css' and 'Identity: C:\Users[user].nuget\packages\radzen.blazor\4.4.0\staticwebassets\css\dark.css, SourceType: Package, SourceId: Radzen.Blazor, ContentRoot: C:\Users[user].nuget\packages\radzen.blazor\4.4.0\staticwebassets, BasePath: _content/Radzen.Blazor, RelativePath: css/dark.css, AssetKind: All, AssetMode: All, AssetRole: Primary, RelatedAsset: , AssetTraitName: , AssetTraitValue: , CopyToOutputDirectory: Never, CopyToPublishDirectory: PreserveNewest, OriginalItemSpec: C:\Users[user].nuget\packages\radzen.blazor\4.4.0\staticwebassets\css\dark.css'.|CMUServer|C:\Program Files\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk.Razor\targets\Microsoft.NET.Sdk.Razor.StaticWebAssets.targets|411||

Never seen such error before however I've found this:

Thank you for you quick response! I will definitely look at it right now! Thanks!!!!

You can also try deleting all bin and obj directories and rebuilding your project. This has saved me a lot of times.

This worked! Thanks a lot @korchev!