Error NETSDK1152

Hi, I am now getting this error below after Installed Visual Studio 2022 when trying to deploy my project. Any idea how to fix this?
"dotnet: C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): error NETSDK1152: Found multiple publish output files with the same relative path: C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk.BlazorWebAssembly\targets\BlazorWasm.web.config,"

Thanks.

Check this thread:

Thanks!.. add this into .csproj within <PropertyGroup> tag work.
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>