I am new for using Package Manager Console. I need to install Autofac.Mvc3
and MvcScaffolding
packages. I tried to install using Package Manager Console by running the below commands.
PM> Install-Package Autofac.Mvc3
But I got the below error.
Attempting to resolve dependency 'Autofac (≥ 2.6.3.862)'.
Install-Package : The underlying connection was closed: An unexpected error occurred on a send.
At line:1 char:16
+ Install-Package <<<< Autofac.Mvc3
+ CategoryInfo: NotSpecified: (:) [Install-Package], WebException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
And while installing MvcScaffolding
:
PM> Install-Package MvcScaffolding
It throws the this error.
Attempting to resolve dependency 'T4Scaffolding'.
Install-Package : The underlying connection was closed: An unexpected error occurred on a send.
At line:1 char:16
+ Install-Package <<<< MvcScaffolding
+ CategoryInfo : NotSpecified: (:) [Install-Package], WebException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
I do have some pre-installed dll's in 'packages' folder while creating a MVC4 application in VS2012 but it does not contain MvcScaffolding/ Autofac.
Please tell must I install those in 'packages' folder or will it get install by running the above commands.
Please help.. Thanks in advance :)