metadata C# VS2005

  • Thread starter Thread starter raulavi
  • Start date Start date
R

raulavi

Hope I am in the right place to ask this:
Why sometimes you get metada and sometimes you get the actual coding source?

I right click on a class Name on C# code and select "go to definition"

can this be handle on purpose (always get Metadata) ?

Thanks
 
Hi raulavi,

VS.NET will take you to the actual code when 'Going To Definition' if the
code is either in the same project or in another project within the same
solution (and the reference to that project is 'by project' actually).

It will take you to metadata whenever the reference is to a DLL.

HTH,
 
Thanks Adam at least is a clue:
any other cases.
my solution has at least two projects and the referenced class is within the
solution, but still, metadata is shown.
 
Adam Bieganski said:
Hi raulavi,

VS.NET will take you to the actual code when 'Going To Definition' if the
code is either in the same project or in another project within the same
solution (and the reference to that project is 'by project' actually).

It will take you to metadata whenever the reference is to a DLL.

I have the same problem. If I "clean" and then "rebuild all" the solution,
I will get the source code sometimes. All other times I get the metadata.
The VB IDE doesn't seem to have this problem, so I would guess this is a
flaw in the C# IDE.

Mike Ober.
 
Back
Top