在Visual Studio 2013中安装下一代twilio-csharp版本时(使用带有-Pre开关的Install-Package),但发生了以下错误。
PM> Install-Package Twilio -Pre
Attempting to resolve dependency 'Portable.JWT (= 1.0.5)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 8.0.1)'.
Attempting to resolve dependency 'Portable.BouncyCastle (≥ 1.8.0)'.
Install-Package : 'Portable.BouncyCastle' already has a dependency defined for 'System.Collections'.
At line:1 char:1
+ Install-Package Twilio -Pre
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
我尝试从现有issue获得帮助,但没有成功。虽然它是一个alpha版本,它应该可以工作......我不确定我是否做错了。
答案 0 :(得分:0)
感谢Megan的评论...我下载了稳定版本,它运行良好。此外,稍后我升级到api的异步版本,这也像魅力一样。