RE: The definition of the object is hidden

Tech-Archive recommends: Fix windows errors by optimizing your registry



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"" wrote:

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:
msdnmg@xxxxxxxxxxxxxx

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



--------------------
From: =?Utf-8?B?YzY3NjIyOA==?= <betty@xxxxxxxxxxxxxxxx>
Subject: The definition of the object is hidden
Date: Tue, 13 Jan 2009 09:16:06 -0800


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,
--
Betty



.



Relevant Pages

  • Re: Augmenting Types
    ... So if the screenshot was not of an error message generated by ... instantiating an ActiveX object, how can you possibly know that there is ... source code that lead to it (you only know that ActiveX objects are not ... Too late for the script in question to go on about its merry way. ...
    (comp.lang.javascript)
  • RE: So tired of this bug
    ... Last day I was editing my web.config and changed the authorization element ... Then of course when I tried to open my web project I didn't have access ... And since I have had this error message ... to your web.config settings bla bla". ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: I dotn understand this error
    ... i llok at line 43 but cant un derstand what the problem. ... It means the offending line isn't in the source code. ... nothing more can be concluded from the error message. ...
    (comp.lang.perl.misc)
  • Re: Moving an ASP.NET project to a different computer
    ... it's in a file folder on a memory stick. ... How do I add a web project to an existing solution? ... >> But when I open Visual Studio on the second computer and try to create a ... >> project by pointing to the project files, I get an error message to the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Changing default print setting in PowerPoint
    ... I'm getting the same error message. ... help if He'd care to share source code. ... >> Set the security to low, reinstalled it, still doesn't work. ...
    (microsoft.public.powerpoint)