我想在基于.NET Framework3.5的项目中使用Caliburn.Micro框架。
我不能通过nuget将Caliburn.Micro添加到我的项目中,因为在我看来,最新版本只支持.NET 4.0和.NET 4.5。
Installing 'Caliburn.Micro 1.5.2'.
Successfully installed 'Caliburn.Micro 1.5.2'.
Adding 'Caliburn.Micro 1.5.2' to QSelfie.
Uninstalling 'Caliburn.Micro 1.5.2'.
Install failed. Rolling back...
Could not install package 'Caliburn.Micro 1.5.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v3.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.我尝试通过nuget控制台安装Caliburn.Micro 1.0.0,但出现错误。
Install-Package : Could not install package 'Caliburn.Micro 1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v3.5', but the package does not contain any assembly r
eferences or content files that are compatible with that framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package Caliburn.Micro -Version 1.0.0
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand是否有任何Caliburn.Micro support .NET 3.5项目?
发布于 2014-04-16 04:55:24
有一些关于在.NET 3.5上构建Caliburn.Micro版本的旧说明可能会很有用:https://caliburnmicro.codeplex.com/discussions/247880
在Codeplex上搜索一些forks可能会更快,似乎有几个用户维护着针对.NET 3.5构建的版本:
https://caliburnmicro.codeplex.com/SourceControl/network/forks/StephenWard1984/CaliburnMicro35
似乎是最新的。
https://stackoverflow.com/questions/23090537
复制相似问题