I've just migrated from VS2003 to VS2008. Using C/C++ environment. On any source text tab, there are two drop-downs. The left shows the scope and the right shows the functions in the scope. This worked fine for me in VS2003 but exactly the same cpp files in VS2008 show "unknown scope" to the left and no functions (cause of no scope) to the right. I also notice that, if I right click on a function name and choose "definition", nothing happens, because the function is not known to the development environment. This is a manifestation of the same problem, I am guessing. What do I have to do to get scopes and functions recognized again in VS2008? (Note that my code is fairly much generic C and there might be some requirements with C++ to make this work that I do not know about). Thanks, Tony Duff
>I've just migrated from VS2003 to VS2008. Using C/C++ environment. > >On any source text tab, there are two drop-downs. The left shows the scope >and the right shows the functions in the scope. > >This worked fine for me in VS2003 but exactly the same cpp files in VS2008 >show "unknown scope" to the left and no functions (cause of no scope) to the >right. > >I also notice that, if I right click on a function name and choose >"definition", nothing happens, because the function is not known to the >development environment. This is a manifestation of the same problem, I am >guessing. Tony, Ensure that the solution view contains all the relevant source and header files for your project. Following that, try closing the solution and deleting the .ncb file. Dave