vs2010 关于缺少Microsoft.Practices.EnterpriseLibrary.Data.dll 等的解决办法

使用VS2010编译时还是会报错:The
type or namespace name ""Data"" does not exist in the namespace
""Microsoft.Practices.EnterpriseLibrary"" (are you missing an assembly
reference?)

明明有这个dll引用但是还是会报错,经过查找原因 为 .net4.0的框架默认为client profile 的编译环境,将其转换为.net 4.0 framework即可

如图:将中间部分的目标框架改为.net Framework4即可编译成功image

posted @ 2013-01-09 15:30  倚楼听雨  阅读(882)  评论(0编辑  收藏  举报