Syntax/Intellisense broken?

假装没事ソ 提交于 2019-12-02 13:06:23

问题


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]

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?


回答1:


Fixed it - Just for other FYI :

  1. Closed Visual Studio.
  2. Deleted the Solution (.sln) File from the solution folder.
  3. Opened Visual Studio.
  4. Opened the first/main project (from the broken solution).
  5. Added the remainder of the projects that were in that solution.
  6. Saved the new Solution File.

This appears to have worked!! :)



来源:https://stackoverflow.com/questions/8561074/syntax-intellisense-broken

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!