首页 新闻 赞助 找找看

添加 senparc.weixin.MP 时一直遇到“已添加了相同的项” 求解 谢谢!

0
悬赏园豆:10 [已关闭问题] 关闭于 2017-11-05 16:11

软件:VS2015   添加Senparc.WeiXin.MP时就会出现“已添加重复项”  但是在项目引用里并找不到 . 添加其他程序包也添加不上去 请求告知解决方案 。 非常感谢

问题补充:

正在尝试收集与目标为“.NETFramework,Version=v4.5.2”的项目“UI\WxShops”有关的程序包“Senparc.Weixin.MP.14.8.3”的相关依赖项信息
正在尝试解析程序包“Senparc.Weixin.MP.14.8.3”的依赖项,DependencyBehavior 为“Lowest”
正在解析操作以安装程序包“Senparc.Weixin.MP.14.8.3”
已解析操作以安装程序包“Senparc.Weixin.MP.14.8.3”
为了将程序包“Newtonsoft.Json.10.0.3”添加到目标为“net452”的项目“WxShops”。
为了将程序包“Newtonsoft.Json.10.0.3”添加到目标为“net452”的项目“WxShops”。
正在将程序包“Newtonsoft.Json.10.0.3”添加到文件夹“E:\VS sytem\ShopWx\packages”
已将程序包“Newtonsoft.Json.10.0.3”添加到文件夹“E:\VS sytem\ShopWx\packages”
已将引用“Newtonsoft.Json”添加到项目“WxShops”。
已将程序包“Newtonsoft.Json.10.0.3”添加到“packages.config”
为了将程序包“Newtonsoft.Json.10.0.3”添加到目标为“net452”的项目“WxShops”。
正在执行脚本文件“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\tools\install.ps1”...
已将“Newtonsoft.Json 10.0.3”成功安装到 WxShops
为了将程序包“Senparc.Weixin.4.17.1”添加到目标为“net452”的项目“WxShops”。
为了将程序包“Senparc.Weixin.4.17.1”添加到目标为“net452”的项目“WxShops”。
正在将程序包“Senparc.Weixin.4.17.1”添加到文件夹“E:\VS sytem\ShopWx\packages”
已将程序包“Senparc.Weixin.4.17.1”添加到文件夹“E:\VS sytem\ShopWx\packages”
已将引用“Senparc.Weixin”添加到项目“WxShops”。
已将程序包“Senparc.Weixin.4.17.1”添加到“packages.config”
已将“Senparc.Weixin 4.17.1”成功安装到 WxShops
为了将程序包“Senparc.Weixin.MP.14.8.3”添加到目标为“net452”的项目“WxShops”。
为了将程序包“Senparc.Weixin.MP.14.8.3”添加到目标为“net452”的项目“WxShops”。
正在将程序包“Senparc.Weixin.MP.14.8.3”添加到文件夹“E:\VS sytem\ShopWx\packages”
已将程序包“Senparc.Weixin.MP.14.8.3”添加到文件夹“E:\VS sytem\ShopWx\packages”
已将引用“Senparc.Weixin.MP”添加到项目“WxShops”。
已将程序包“Senparc.Weixin.MP.14.8.3”添加到“packages.config”
已将“Senparc.Weixin.MP 14.8.3”成功安装到 WxShops
安装失败。正在回滚...
已从“packages.config”中删除程序包“Senparc.Weixin.MP 14.8.3”
已从项目“WxShops”中删除引用“Senparc.Weixin.MP.dll”
已从“packages.config”中删除程序包“Senparc.Weixin 4.17.1”
已从项目“WxShops”中删除引用“Senparc.Weixin.dll”
已从“packages.config”中删除程序包“Newtonsoft.Json 10.0.3”
已从项目“WxShops”中删除引用“Newtonsoft.Json.dll”
正在从文件夹“E:\VS sytem\ShopWx\packages”中删除程序包“Senparc.Weixin.MP 14.8.3”
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.MP.14.8.3\lib\netstandard1.6”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.MP.14.8.3\lib\netstandard2.0”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.MP.14.8.3\lib\net35”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.MP.14.8.3\lib\net40”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.MP.14.8.3\lib\net45”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.MP.14.8.3\lib”。
已从文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.MP.14.8.3”中删除文件“Senparc.Weixin.MP.14.8.3.nupkg”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.MP.14.8.3”。
已从文件夹“E:\VS sytem\ShopWx\packages”中删除程序包“Senparc.Weixin.MP 14.8.3”
正在从文件夹“E:\VS sytem\ShopWx\packages”中删除程序包“Senparc.Weixin 4.17.1”
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1\lib\netstandard1.6”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1\lib\netstandard2.0”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1\lib\netcoreapp2.0”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1\lib\net35”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1\lib\net40”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1\lib\net45”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1\lib”。
已从文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1”中删除文件“Senparc.Weixin.4.17.1.nupkg”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Senparc.Weixin.4.17.1”。
已从文件夹“E:\VS sytem\ShopWx\packages”中删除程序包“Senparc.Weixin 4.17.1”
正在从文件夹“E:\VS sytem\ShopWx\packages”中删除程序包“Newtonsoft.Json 10.0.3”
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib\portable-net40+sl5+win8+wp8+wpa81”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib\portable-net45+win8+wp8+wpa81”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib\netstandard1.3”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib\netstandard1.0”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib\net45”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib\net40”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib\net35”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib\net20”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\tools”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3\lib”。
已从文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3”中删除文件“Newtonsoft.Json.10.0.3.nupkg”。
已删除文件夹“E:\VS sytem\ShopWx\packages\Newtonsoft.Json.10.0.3”。
已从文件夹“E:\VS sytem\ShopWx\packages”中删除程序包“Newtonsoft.Json 10.0.3”
System.ArgumentException: 已添加了具有相同键的项。
   在 System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   在 System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   在 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   在 NuGet.PackageManagement.VisualStudio.BindingRedirectResolver.GetBindingRedirects(IEnumerable`1 assemblies)
   在 NuGet.PackageManagement.VisualStudio.BindingRedirectResolver.GetBindingRedirects(IEnumerable`1 assemblyPaths, AppDomain domain)
   在 NuGet.PackageManagement.VisualStudio.RuntimeHelpers.<AddBindingRedirectsAsync>d__3.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 NuGet.PackageManagement.VisualStudio.RuntimeHelpers.<AddBindingRedirectsAsync>d__2.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 NuGet.PackageManagement.VisualStudio.RuntimeHelpers.<AddBindingRedirectsAsync>d__0.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 NuGet.PackageManagement.VisualStudio.VSMSBuildNuGetProjectSystem.<<AddBindingRedirects>b__59_0>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   在 NuGet.PackageManagement.VisualStudio.VSMSBuildNuGetProjectSystem.AddBindingRedirects()
   在 NuGet.ProjectManagement.MSBuildNuGetProject.PostProcessAsync(INuGetProjectContext nuGetProjectContext, CancellationToken token)
   在 NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__42.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__42.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 NuGet.PackageManagement.UI.UIActionEngine.<ExecuteActionsAsync>d__5.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 NuGet.PackageManagement.UI.UIActionEngine.<PerformActionAsync>d__3.MoveNext()
========== 已完成 ==========

 

图片不清楚,以上是内容

傻傻的鱼的主页 傻傻的鱼 | 初学一级 | 园豆:91
提问于:2017-10-31 18:00
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册