The definition of the object is hidden

  • Thread starter Thread starter c676228
  • Start date Start date
C

c676228

Hi all,

If I moved my mouse to an class then go to the definition. Then an error
message popped up "The defintion of the object is hidden".
Does that mean this is a third party component and the source code is not
available?

Thanks,
 
Hi Betty,

As for the "The defintion of the object is hidden" message, generally it
means you're trying to view some types' definition whose source code is not
available in your current project context. However, I've also found some
former issues which occurs when you try visiting definition of some ASP.NET
page class(partial class) in web project. Here is a public bug report on it.

#Improper error message: "The definition of the object is hidden"
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedbac
kID=115127

The above record is reported under visual studio 2005, are you also using
it? Based on my local test, Visual Studio 2008 web project doesn't have
such problem. Anyway, this message is a IDE specific behavior which won't
affect your web application's runtime behavior or any source code
inspection. As long as you have the source code of certain types/clases in
your current context, you'll be able to inspect them.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.



--------------------
 
Steve,

My situation is a bit different. I do use vs.net 2005. I tried to duplicate
the error message again, but it seems this time when move my mouse to a
specfic function in a class, and choose "go to definition", it just stays
there without doing anything. But when I choose "find all references" it just
pop up a message, something like
"Preparing files
Preparing file xxXXXXX for refactoring(and the file name just keep
changing). after a while, when it seems almost finish refactoring(although I
don't know what it means)
I heard "boom" in the background and I don't see any other error messages
pop up and suddently I was kicked out of the vs.net 2005. The application
just simply closed. I duplicate this case more than 5 times.

Does that mean partial source code is not included in the project files?

thanks,
--
Betty


"Steven Cheng" said:
Hi Betty,

As for the "The defintion of the object is hidden" message, generally it
means you're trying to view some types' definition whose source code is not
available in your current project context. However, I've also found some
former issues which occurs when you try visiting definition of some ASP.NET
page class(partial class) in web project. Here is a public bug report on it.

#Improper error message: "The definition of the object is hidden"
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedbac
kID=115127

The above record is reported under visual studio 2005, are you also using
it? Based on my local test, Visual Studio 2008 web project doesn't have
such problem. Anyway, this message is a IDE specific behavior which won't
affect your web application's runtime behavior or any source code
inspection. As long as you have the source code of certain types/clases in
your current context, you'll be able to inspect them.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.



--------------------
 
Back
Top