Noogen.Validation错误是您缺少using指令或程序集引用? [英] Noogen.Validation error are you missing a using directive or an assembly reference?
问题描述
我在桌面应用程序中使用Noogen.validation.dll。在添加引用后,它显示错误为找不到类型或命名空间名称'Noogen'(您是否缺少using指令或程序集引用?)所以现在做什么?
我也添加了Noogen.validation.dll参考。
我使用visual studio 2010
Dot net framework 4客户端配置文件。
也会收到警告。
引用的程序集Noogen.Validation无法解析,因为它依赖于System.Design,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a,它不在当前目标框架.NETFramework,Version = v4.0,Profile = Client中。请删除不在目标框架中的程序集的引用或考虑重新定位项目。
I m using Noogen.validation.dll in desktop application.after adding reference it shows error as "The type or namespace name 'Noogen' could not be found (are you missing a using directive or an assembly reference?)" so what to do now?
also i have added Noogen.validation.dll reference.
I m using visual studio 2010
Dot net framework 4 client profile.
also following warning also gets.
The referenced assembly "Noogen.Validation" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
推荐答案
它看起来像一个错误的目标框架。是不是错误信息明显?如果没有,请执行以下操作:打开项目属性,第一个选项卡,应用程序,找到Tar g et framework并更改目标框架。可能它设置为.NET Framework 4 Client Profile。将其更改为.NET Framework 4。
-SA
It looks like a wrong target framework. Isn't the error message apparent? If not, do the following: open the project properties, first tab, "Application", locate "Target framework" and change the target framework. Probably, it is set to ".NET Framework 4 Client Profile". Change it to ".NET Framework 4".
—SA
这篇关于Noogen.Validation错误是您缺少using指令或程序集引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!