Bruce
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 : NuGetCmdletUnhandledExcept ion,NuGet. PowerShell .Commands. InstallPac kageComman d
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'
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 : NuGetCmdletUnhandledExcept
you can get the source from https://github.com/autofac/ and add it to your project
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.