简体   繁体   English

执行清除后,名称空间中不存在类型或名称空间名称

[英]The type or namespace name does not exist in the namespace after executing a cleanup

This problem is making me officially crazy, until now everything was working correctly, now the program is showing a lot of monstrous errors. 这个问题使我正式发疯,直到现在一切正常,现在程序显示出许多可怕的错误。

In practice, I clicked with the right mouse button on the project and I selected "Clean", when I clicked "Compile" I got so many errors like: 实际上,我在项目上单击鼠标右键,然后选择“清理”,当我单击“编译”时,出现了很多错误,例如:

The type or namespace does not exist in the namespace 名称空间中不存在类型或名称空间

I looked for the error on the internet and I found these: 我在互联网上寻找错误,然后发现了这些错误:

Type or namespace name does not exist 类型或名称空间名称不存在

but it did not help me, also I'm working with 5 projects, and everyone has set up version as 4.6.1 但这并没有帮助我,我也正在处理5个项目,每个人都将版本设置为4.6.1

This happens after Clean when you haven't set your Solution Build Sequence properly. 如果您没有正确设置Solution Build Sequence ,则会在“ Clean之后发生。

If missing reference is in same solution 如果缺少参考在同一解决方案中

Two possible fixed 两种可能的固定

Try Building each project those are referenced with in other projects individually. 尝试Building分别在其他项目中引用的每个项目。

Or 要么

Make a proper build sequence of projects in your solutions.. 在解决方案中制定正确的项目构建顺序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 类型或名称空间名称在名称空间中不存在 - The type or namespace name does not exist in the namespace 名称空间中不存在类型或命名空间名称“GetName” - The type or namespace name 'GetName' does not exist in the namespace 类型或名称空间名称“ MIDI”在名称空间中不存在 - The type or namespace name 'MIDI' does not exist in the namespace 命名空间中不存在类型或命名空间名称“Linq” - The type or namespace name 'Linq' does not exist in the namespace 命名空间中不存在类型或命名空间名称“Exchange” - The type or namespace name 'Exchange' does not exist in the namespace 类型或名称空间名称“ Confidence”在名称空间中不存在 - The type or namespace name 'Confidence' does not exist in the namespace 命名空间中不存在类型或命名空间名称 - type or namespace name does not exist in the namespace 命名空间中不存在类型或命名空间名称“优化” - The type or namespace name 'Optimization' does not exist in the namespace 命名空间中不存在类型或命名空间名称“Core” - The type or namespace name 'Core' does not exist in the namespace 命名空间中不存在类型或命名空间名称“DirectoryServices”? - The type or namespace name 'DirectoryServices' does not exist in the namespace?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM