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>
Similar Posts:
- How to Solve .Net Core Class Library Import System.Windows.Forms Error
- Running NETCORE 2.2 program error [How to Fix]
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package …
- VS Net Core Project Exception Resolution – project.assets.json’ not found. Run a NuGet package restore to generate this…
- Nuget cannot find the asset file project.assets.json [How to Solve]
- Microsoft report viewer 2012 cannot load related DLL
- Flutter project package IOS error [How to Solve]
- [Solved] Microsoft.CSharp.Core.targets(84,5): error MSB6006: “csc.exe” Exited with code -1066598274
- [Solved] org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder