Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/256.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# ';SQLite.SQLiteConnection';两者都存在_C#_.net_Wpf_Sqlite - Fatal编程技术网

C# ';SQLite.SQLiteConnection';两者都存在

C# ';SQLite.SQLiteConnection';两者都存在,c#,.net,wpf,sqlite,C#,.net,Wpf,Sqlite,我有两个带有nuget包sqlite的usercontrols,只需向main程序添加一个引用即可 如果添加第二个引用,则会出现以下错误: Error 10 The type 'SQLite.SQLiteConnection' exists in both 'c:\Work\- Samples\- Wpf\testwrap\MediaViewerControl\bin\Debug\MediaViewerControl.dll' and 'c:\Work\ItuneLibU

我有两个带有nuget包sqlite的usercontrols,只需向main程序添加一个引用即可 如果添加第二个引用,则会出现以下错误:

Error   10  The type 'SQLite.SQLiteConnection' exists in both 'c:\Work\- Samples\- Wpf\testwrap\MediaViewerControl\bin\Debug\MediaViewerControl.dll' 
        and 'c:\Work\ItuneLibUtility-12\DiscOgsSearchCtrl\DiscOgsSearchCtrl\bin\Debug\DiscOgsSearchCtrl.dll'    
        C:\Work\ItuneLibUtility-12\MDreamMediaViewer\MDreamMediaViewer\Dialogs\MovieDialog2.xaml.cs

如何解决此问题?

查看
外部别名
。或者提示很好,我给第二个引用一个别名(在VisualStudio的引用设置中)谢谢。这里也有一位很好的参考人。