1

While installing the next-gen version of twilio-csharp in Visual Studio 2013 (used Install-Package with the -Pre switch), but the below error happened.

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

I tried taking help from an existing issue but to no success. Though its an alpha version, it should work... am not sure if am doing something incorrectly.

4
  • That looks like an issue with the dependencies of the BouncyCastle library. Report it to them... if it is alpha it may have been modified recently and come with a pleasant bug. Commented Jan 6, 2017 at 19:17
  • 1
    Instead of simply -pre, try the following command: Install-Package Twilio -prerelease Commented Jan 10, 2017 at 0:19
  • This question has been answered here: stackoverflow.com/a/36662092/738188 Commented Dec 3, 2017 at 0:57
  • Thanks for taking time out and answering... i should have answered my question too. Megan's comment helped me. Commented Dec 3, 2017 at 17:05

1 Answer 1

0

Thanks Megan for your comment... I downloaded the stable version and it worked fine. Also, later on I upgraded to the async version of the api's and that worked like a charm too.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.