我尝试更新Xamarin.Android.Support.V4,GooglePlayServices,然后开始出现以下内容
Warning 3 Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="System.Net.Requests" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /><bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /></dependentAssembly></assemblyBinding> C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1706 3 Workplay.Universal.Droid
我试图做回滚,但是这个错误现在仍然存在,我搜索了类似的错误,但是在我更新之前似乎没有修复此问题我没有这个问题
错误说它在Project .Droid上但是我在哪里引用System.Net或System.Net.Requests
请帮助
我尝试将以下内容添加到App.conf
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Net.Requests" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
编辑: 我最终从头开始创建项目并复制我的代码。我花了一段时间,但似乎警告在“新”项目中消失了
EDIT2: 当我重新启动我的VS时,警告又回来了