语法/Intellisense损坏了吗? [英] Syntax/Intellisense broken?
本文介绍了语法/Intellisense损坏了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Visual Studio 2010,它似乎突然坏了?! 我打开了一个解决方案,打开了一个类并添加:
I'm working with Visual Studio 2010 which seems to have suddenly broken?! I have a solution open, opened a class and added:
namespace Admin
{
public static class SessionManager
{
public static IEnumerable<UserGroupAccess> this is is annoying and will actually BUILD ?!?"!?!?!?!?!
... [rest of class code]
在执行清洁解决方案">构建解决方案"之后,我得到了构建成功"的报告.我的Intellisense和语法检查等似乎已经收拾好了!
After a CLEAN SOLUTION > BUILD SOLUTION, I get a report of "Build Succeeded". My Intellisense and syntax checking etc seems to have packed up!
以前有人遇到过这个问题吗?
Anybody had this problem before?
推荐答案
已修复-仅用于其他FYI:
Fixed it - Just for other FYI :
- 关闭了Visual Studio.
- 从解决方案文件夹中删除了解决方案(.sln)文件.
- 打开了Visual Studio.
- 打开第一个/主项目(来自损坏的解决方案).
- 添加了该解决方案中其余的项目.
- 保存了新的解决方案文件.
这似乎奏效了!! :)
This appears to have worked!! :)
这篇关于语法/Intellisense损坏了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文