安装MahApps.Metro时出错“尝试将此软件包安装到面向'.NETFramework,Version = v3.5'的项目中”

时间:2013-02-04 12:25:53

标签: wpf windows

我正在尝试在Visual Basic .NetFramework 3.5项目上安装MahApps.Metro http://mahapps.com/MahApps.Metro/,但我有错误

Could not install package 'MahApps.Metro 0.10.0.1'. 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.

我不明白我已经在.NetFramework 3.5上玩了..我怎么能解决这个问题?

1 个答案:

答案 0 :(得分:4)

这个库似乎需要.NET 4+。升级到更高的.NET版本(4.0或4.5),它应该可以工作。

相关问题