我有困難之間存在衝突擺脫構建警告:.NET核心 - MSB3277:不同版本
warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved
特別是在.NET的核心項目。
在一個完整的.NET框架的項目,所以我用Google搜索周圍的問題,並發現this answer提示添加以下到.csproj的文件,我想補充一些綁定重定向:
<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
我已經這樣做了,但沒有有用 - 我仍然收到構建警告。還有什麼我可以做的?
更多信息,請在您的項目文件和解決方案的設置的租賃相關部分分享。 (因爲.NET核心沒有綁定重定向) –
@MartinUllrich感謝您的迴應 - 您希望從proj文件中看到什麼?有問題的項目是[這裏](https://github.com/stewart-r/DlnaCore)。我真的很難理解依賴程序集在沒有它的情況下如何在.net core中重定向?有沒有其他一些機制我不知道 - 我;谷歌搜索和谷歌搜索 –
其實 - 有問題的分支是[這一個](https://github.com/stewart-r/DlnaCore/tree/dev ) –