找到了多个具有相同相对路径的发布输出文件:

严重性 代码 说明 项目 文件 行 禁止显示状态
错误 找到了多个具有相同相对路径的发布输出文件: C:\Users\PC-SDWQ\.nuget\packages\system.data.sqlite.core\1.0.113.1\runtimes\linux-x64\native\netstandard2.0\SQLite.Interop.dll, C:\Users\PC-SDWQ\.nuget\packages\system.data.sqlite.core\1.0.113.1\runtimes\linux-x64\native\netstandard2.1\SQLite.Interop.dll。

项目文件加

<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>

原文地址:https://www.cnblogs.com/liuqiyun/p/15772704.html