Publish error: Found multiple publish output files with the same relative path
Issue: The issue raises after .NET 6 migration. There’s a new feature that blocks multiple files from being copied to the same target directory with the same file name. See https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/6.0/duplicate-files-in-output Solution #1 (workaround): You can add the following build property to all your publishable (*.Web) projects’ *.csproj files. This property will bypass this check … Read more