如何解决冲突;类型在两者中都存在&”;

本文关键字:存在 类型 何解决 解决 冲突 | 更新日期: 2023-09-27 18:20:58

我在下载的WP8应用程序中有很多这样的错误。

两者中都存在类型"Microsoft.Phone.Controls.LongListSelector"'c:''Program Files(x86)''Syncfusion''EssentialStudio ''11.1.0.21''程序集''4.0''WindowsPhone8''Microsoft.Phone.Controls.Toolkit.dll和'c:''Program Files(x86)''参考程序集''Microsoft''Framework''WindowsPhone''v8.0''Microsoft.Phone.dll'.

它发生在Name.g.cs文件中。我不需要使用Syncfusion。如何告诉应用程序不要使用它?

编辑:

packages.config内容:

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Rx-Core" version="2.0.20823" targetFramework="wp80" />
  <package id="Rx-Interfaces" version="2.0.20823" targetFramework="wp80" />
  <package id="Rx-Linq" version="2.0.20823" targetFramework="wp80" />
  <package id="Rx-Main" version="2.0.20823" targetFramework="wp80" />
  <package id="Rx-PlatformServices" version="2.0.20823" targetFramework="wp80" />
  <package id="Rx-Silverlight" version="2.0.20823" targetFramework="wp80" />
  <package id="sqlite-net" version="1.0.8" targetFramework="wp80" />
  <package id="sqlite-net-wp8" version="3.8.5" targetFramework="wp80" />
  <package id="WPtoolkit" version="4.2013.08.16" targetFramework="wp80" />
  <package id="Yandex.Maps" version="1.02.4721.1342" targetFramework="wp80" />
</packages>

如何解决冲突;类型在两者中都存在&”;

Your Project->右键单击->添加引用->程序集->扩展->取消选中syncfusion。

相关文章: