Link to home
Start Free TrialLog in
Avatar of Bruce
BruceFlag for United States of America

asked on

Error installing Autofac to Silverlight Business App in VS 2010

I am trying to add the Autofac package to a new Silverlight Business Application solution and I get this output (including error)...                      Ideas?  Suggestions??


Installing 'Autofac 3.4.0'.
Successfully installed 'Autofac 3.4.0'.
Adding 'Autofac 3.4.0' to BusinessApplication3.
Uninstalling 'Autofac 3.4.0'.
Successfully uninstalled 'Autofac 3.4.0'.
Install failed. Rolling back...
Install-Package : Could not install package 'Autofac 3.4.0'. You are trying to install this package into a project that targets 'Silverlight,Version=v4.0', but the package does not con
tain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
At line:1 char:16
+ install-package <<<<  Autofac
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

you can get the source from https://github.com/autofac/ and add it to your project
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial