Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install twilio.AspNet mvc package

Tags:

package

twilio

Install failed. Rolling back...

Install-Package : Could not install package 'Twilio.AspNet.Mvc 5.0.1'. You are trying to install this package into a project that targets .NETFramework,Version=v4.5, but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. At line:1 char:1 + Install-Package Twilio.AspNet.Mvc -Version 5.0.1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

like image 633
Khizar Nayyar Avatar asked Jan 30 '26 18:01

Khizar Nayyar


1 Answers

  1. Make sure that your Target Framework is at least 4.5.1
  2. Use this command: Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor
like image 110
MindLoggedOut Avatar answered Feb 03 '26 11:02

MindLoggedOut



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!