Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - The definition of the object is hidden

Reply
 
Old 01-13-2009   #1 (permalink)
c676228


 
 

The definition of the object is hidden

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

My System SpecsSystem Spec
Old 01-13-2009   #2 (permalink)
Steven Cheng


 
 

RE: The definition of the object is hidden

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/VisualS...k.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@xxxxxx.

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



--------------------
Quote:

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

>
>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
>
My System SpecsSystem Spec
Old 01-14-2009   #3 (permalink)
c676228


 
 

RE: The definition of the object is hidden

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:
Quote:

> 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/VisualS...k.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@xxxxxx.
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/en-us/subs...#notifications.
>
>
>
> --------------------
Quote:

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

> >
> >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
> >
>
>
My System SpecsSystem Spec
Old 01-14-2009   #4 (permalink)
Steven Cheng


 
 

RE: The definition of the object is hidden

Hi Betty,

As you mentioned that you move mouse to a class and select "go to
definition" or "find all references", then what kind of class are you
moving mouse at? Is it a class defined by yourself in teh project or a
project generated class(with partial file), such as those typed dataset or
LINQ classes ?

My local test is based on Visual studio 2008, and for classes defined by
ourselves, when I choose "go to definition" on it, it will go to the
class's definition. If the classes is defined in existing assmblies, the
IDE will generate some definition(such as class's public members and
properties) from its Metadata in assembly.

BTW, have you tried this on some other machine with visual studio installed
to see whether this is a consistent behavior?

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@xxxxxx.


--------------------
Quote:

>From: =?Utf-8?B?YzY3NjIyOA==?= <betty@xxxxxx>
>References: <6872E007-BF56-4BFF-B19B-F53CDCE8E145@xxxxxx>
<DU06iifdJHA.4200@xxxxxx>
Quote:

>Subject: RE: The definition of the object is hidden
>Date: Tue, 13 Jan 2009 21:01:01 -0800
Quote:

>
>Steve,
>
>My situation is a bit different. I do use vs.net 2005. I tried to
duplicate
Quote:

>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
Quote:

>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
Quote:

>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:
>
My System SpecsSystem Spec
Old 01-21-2009   #5 (permalink)
c676228


 
 

RE: The definition of the object is hidden

Steve,
Sorry, my bad. I looked that file again and actually it is an interface
definition.

The acutally implementation of the method is defined in the class which
inherits from this interface. I certainly won't find any definition
implentation directly in this interface.


I have a lot to learn. Sometimes I cannot find information so easily. You
will see more questions come up. So please bear with me.:+)

--
Betty


""Steven Cheng"" wrote:
Quote:

> Hi Betty,
>
> As you mentioned that you move mouse to a class and select "go to
> definition" or "find all references", then what kind of class are you
> moving mouse at? Is it a class defined by yourself in teh project or a
> project generated class(with partial file), such as those typed dataset or
> LINQ classes ?
>
> My local test is based on Visual studio 2008, and for classes defined by
> ourselves, when I choose "go to definition" on it, it will go to the
> class's definition. If the classes is defined in existing assmblies, the
> IDE will generate some definition(such as class's public members and
> properties) from its Metadata in assembly.
>
> BTW, have you tried this on some other machine with visual studio installed
> to see whether this is a consistent behavior?
>
> 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@xxxxxx.
>
>
> --------------------
Quote:

> >From: =?Utf-8?B?YzY3NjIyOA==?= <betty@xxxxxx>
> >References: <6872E007-BF56-4BFF-B19B-F53CDCE8E145@xxxxxx>
> <DU06iifdJHA.4200@xxxxxx>
Quote:

> >Subject: RE: The definition of the object is hidden
> >Date: Tue, 13 Jan 2009 21:01:01 -0800
>
Quote:

> >
> >Steve,
> >
> >My situation is a bit different. I do use vs.net 2005. I tried to
> duplicate
Quote:

> >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
Quote:

> >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
Quote:

> >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:
> >
>
>
My System SpecsSystem Spec
Old 01-22-2009   #6 (permalink)
Steven Cheng


 
 

RE: The definition of the object is hidden

Thanks for your followup Betty,

I'm glad that you've figured the problem out. No problem. Please feel free
to post here whenever you need any help.

Good luck!

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@xxxxxx.
--------------------
Quote:

>From: =?Utf-8?B?YzY3NjIyOA==?= <betty@xxxxxx>
>Subject: RE: The definition of the object is hidden
>Date: Wed, 21 Jan 2009 20:58:04 -0800
Quote:

>
>Steve,
>Sorry, my bad. I looked that file again and actually it is an interface
>definition.
>
>The acutally implementation of the method is defined in the class which
>inherits from this interface. I certainly won't find any definition
>implentation directly in this interface.
>
>
>I have a lot to learn. Sometimes I cannot find information so easily. You
>will see more questions come up. So please bear with me.:+)
>
>--
>Betty
>
>
>""Steven Cheng"" wrote:
>
Quote:

>> Hi Betty,
>>
>> As you mentioned that you move mouse to a class and select "go to
>> definition" or "find all references", then what kind of class are you
>> moving mouse at? Is it a class defined by yourself in teh project or a
>> project generated class(with partial file), such as those typed dataset
or
Quote:
Quote:

>> LINQ classes ?
>>
>> My local test is based on Visual studio 2008, and for classes defined by
>> ourselves, when I choose "go to definition" on it, it will go to the
>> class's definition. If the classes is defined in existing assmblies, the
>> IDE will generate some definition(such as class's public members and
>> properties) from its Metadata in assembly.
>>
>> BTW, have you tried this on some other machine with visual studio
installed
Quote:
Quote:

>> to see whether this is a consistent behavior?
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>> Delighting our customers is our #1 priority. We welcome your comments
and
Quote:
Quote:

>> suggestions about how we can improve the support we provide to you.
Please
Quote:
Quote:

>> 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@xxxxxx.
>>
>>
>> --------------------
Quote:

>> >From: =?Utf-8?B?YzY3NjIyOA==?= <betty@xxxxxx>
>> >References: <6872E007-BF56-4BFF-B19B-F53CDCE8E145@xxxxxx>
>> <DU06iifdJHA.4200@xxxxxx>
Quote:

>> >Subject: RE: The definition of the object is hidden
>> >Date: Tue, 13 Jan 2009 21:01:01 -0800
>>
Quote:

>> >
>> >Steve,
>> >
>> >My situation is a bit different. I do use vs.net 2005. I tried to
>> duplicate
Quote:

>> >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
Quote:
Quote:
Quote:

>> >there without doing anything. But when I choose "find all references"
it
Quote:
Quote:

>> just
Quote:

>> >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
Quote:
Quote:

>> I
Quote:

>> >don't know what it means)
>> >I heard "boom" in the background and I don't see any other error
messages
Quote:
Quote:
Quote:

>> >pop up and suddently I was kicked out of the vs.net 2005. The
application
Quote:
Quote:
Quote:

>> >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:
>> >
>>
>>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
If the pst files are in a hidden folder or are hidden how can be seen or search for ? Browsers & Mail
Files Remain Hidden Even though I selected show Hidden & Protected Vista file management
Howo to keep hidden icons hidden? Vista General
My pictures hidden, can not make it un hidden General Discussion
Adding canonical aliases for Compare-Object, Measure-Object, New-Object PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46