No ClassView for MFC projects?

C

charles_weaver

I am in the process of upgrading a number of VC++ 6 projects to VC++
..Net. I have noticed that for MFC projects the Class View information
is not available. Is this something I am doing wrong or is it by
design? The non-MFC projects have Class View information as they
should.

A related issue is that in the MFC projects I also don't seem to be
able to
go to the definitions of functions by clickng on Goto Definition even
though the Generate Browse Information option is set. It just tells me
that the defintion does not exist and doesn't offer to build the browse
information. In the non-MFC projects this works. However in VC 6.0 I
can place the cursor any place in the function name and it goes there.
In VC.Net I seem to have to highlight the whole function reference, I.e
Class.method before it will recognize it. Is this the new
functionality? When I just put the currsor somewhere in the name it
says: The symbol 'r' is not defined, no matter what the fucntion name
is.

I am using Visual Studio.Net 2003 that I downloaded from MSDN.
 
D

David Lowndes

I am in the process of upgrading a number of VC++ 6 projects to VC++
.Net. I have noticed that for MFC projects the Class View information
is not available.

Have you tried closing the solution, deleting the .ncb file, and then
re-opening the solution?
A related issue is that in the MFC projects I also don't seem to be
able to
go to the definitions of functions by clickng on Goto Definition

I think it's the same problem.

Dave
 
C

charles_weaver

I deleted the .ncb and reopened the project and got the same result. I
then even created an MFC project with VC.Net and that doesn't show the
classes either, even though it has an .ncb file of what looks like a
reasonable size.

I discovered that even one of the files that isn't MFC doesn't have a
ClassView either.

And Intellisense just doesn't work on any of the projects, even those
with a Class View. When you put the cursor on a function it shows
garbage and when you are filling in parameters of functions it does't
show you the arguments.

I must have something messed up in my installation or settings. I don't
want to blindly keep reinstalling or to change settings randomly. I
hope someone will be able to point me in the right direction.
 
G

Guest

For me its working, I opened the VC6 Project in .NET IDE and it prompted to
convert the project to VC7, I clicked Yes to All and I was able to see all
the classes in Class view.
I think there is some problem with the installation of .Net in your machine.
 
D

David Lowndes

I deleted the .ncb and reopened the project and got the same result. I
then even created an MFC project with VC.Net and that doesn't show the
classes either

In that case your experience isn't typical, unless you've added some
code to the project that the processing has a problem with - I presume
you've just created a default App Wizard project, so that shouldn't be
a problem.

I don't know what to suggest (other than a re-install - possibly on
another system to reassure yourself) as I've not experienced such a
catastrophic failure with the class view information myself.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top