无法安装包'EnterpriseLibrary.Common 6.0.1304'

时间:2016-05-14 14:00:46

标签: visual-studio-2015 enterprise-library application-blocks

我正在尝试在新创建的dll中安装Microsoft Data Access Block,但是我遇到了问题,无法理解究竟是什么问题..请帮助我任何人。错误如下:

Could not install package 'EnterpriseLibrary.Common 6.0.1304'.
You are trying to install this package into a project that targets 
'.NETPortable,Version=v4.5,Profile=Profile111', 
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.

1 个答案:

答案 0 :(得分:0)

您正在尝试引用不支持可移植类库的程序集。我可以假设您正在尝试将该引用添加到类库(便携式)项目中。