2014-09-05 38 views
0

我在下载的WP8应用程序中有很多这样的错误。如何解决冲突“类型都存在于...”?

'Microsoft.Phone.Controls.LongListSelector' 两个 “C存在的类型:\程序文件(x86)\ Syncfusion \本质 工作室\ 11.1.0.21 \组件\ 4.0 \的Windows Phone8 \微软.Phone.Controls.Toolkit.dll'和'c:\ Program Files (x86)\ Reference Assemblies \ 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> 
+0

您是否尝试删除对库的引用,或者您是否在应用程序的其他地方使用它? – 2014-09-05 16:07:46

+0

@罗兰肖,没有参考。我也尝试在项目文件夹中搜索文件。它仅在obj/x86/Debug中的两个.cache文件中找到“syncfusion”。删除这些文件没有任何结果。 – splash27 2014-09-05 16:19:28

回答

0

你的项目 - >右键 - >添加引用 - >组件 - >扩展 - >取消选中syncfusion。

+0

没有检查到Syncfusion引用。这就是为什么我解决不了这个问题。 – splash27 2014-09-05 16:15:19

+0

尝试将_packages.config_文件 – 2014-09-05 16:28:30

+0

的内容粘贴到我的问题中。 – splash27 2014-09-05 16:32:28