report errors
C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5):
Error netsdk1152: multiple publication output files with the same relative path were found:
D:\backup – work\project – February 27, 2020\Luzhou Yangtze River sixth bridge\SRC\lzcjlqbim.Webapp.MVC\lzcjlqbim.Webapp.MVC.XML, bin\debug\netcoreapp2.2\netcoreapp2.2\lzcjlqbim.Webapp.MVC.XML.
There was no such thing in the previous release. I don’t know why this release overturned. Find out the reason slowly in the future…
Solution:
New code in lzcjlqbim.webapp.mvc.csproj
<PropertyGroup>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>