Autofac.Configuration
Autofac.Configuration copied to clipboard
Autofac.Configuration - 4.0.0 does not support .net 4.5.1
hi,i install the package
Install-Package Autofac.Configuration -Version 4.0.0
but it does't support .net 4.5.1
the error:
Install-Package : 无法安装程序包“Microsoft.Extensions.Configuration 1.0.0”。您正在尝试将此程序包安装到某个将“.NETFramework,Version=v4.5.1”作为目标的项目中,但此程序包不包含与该框架兼容的任何程序集引用或内容文件。有关详细信息,请与程序包作者联系。
所在位置 行:1 字符: 16
+ Install-Package <<<< Autofac.Configuration -Version 4.0.0
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
This appears to be a NuGet issue. The 4.0.0 configuration package specifically targeted .NET 4.5.1+. In version 4.0.1 we expanded to target .NET 4.5+. Do you have the very latest NuGet installed?
thank you it works well now