Intellisense说“未找到",但是解决方案可以构建 [英] Intellisense says "Not found", but solution builds

查看:66
本文介绍了Intellisense说“未找到",但是解决方案可以构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对VS开发还很陌生,我正在尝试运行我的合作伙伴开发的解决方案.

I'm fairly new to VS development and I'm trying to run a solution my partner developed.

我可以构建解决方案,并且一切正常,除了看代码时,它在语法高亮/智能提示中显示各种错误.

I can build the solution and everything works fine, except when I look at the code, it is showing all kinds of errors in the syntax highlighting/intellisense.

问题似乎是intellisense找不到"Core".尽管编译器必须(因为它可以生成和运行).请参见下面的屏幕截图:

The issue seems to be that intellisense doesn't find "Core" although the compiler must (because it builds and runs). See the screenshot below: 

为什么语法高亮找不到"Core"?导致出现错误指示符,但编译器确实找到了并编译正常?

Any idea why the syntax highlighting can't find "Core" resulting in error indicators but the compiler does find it and compiles fine?

谢谢.

最诚挚的问候,

埃里克

推荐答案

Eric,

>>关于语法突出显示为何找不到"Core"的任何想法.导致出现错误指示符,但编译器确实找到了并编译正常?

>>Any idea why the syntax highlighting can't find "Core" resulting in error indicators but the compiler does find it and compiles fine?

所以您的意思是说它成功编译并可以正常运行,对吗?

So you mean that it compiled successfully and run it normally, am I right?

如果是这样,在执行以下步骤之前,请备份您的解决方案:

If so, before you do the following steps, please take a backup for your solution:

(1)请清理并重建整个解决方案,然后再次检查.

(1) Please clean and rebuild the whole solution, check it again.

(2)删除.suo文件和bin \ debug文件夹,重新打开.xxproj文件,然后重新构建.

(2) Delete the .suo file and the bin\debug folder, re-open the .xxproj file, build it again.

(3)创建一个空白解决方案,然后将所有项目文件添加到新的空白解决方案中,再次查看结果.

(3) Create a blank solution, and then add all project files to the new blank solution, view the result again.

但是,如果在输出窗口中出现编译错误,也许我们会考虑核心软件包的设置或其他.请在输出窗口中向我们分享详细的输出信息.

But if it has the compiled error in the output windows, maybe we would think about the core package's setup or others. Please share us the detailed output information in the output window.

最好的问候,

Jack


这篇关于Intellisense说“未找到",但是解决方案可以构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆