Showing posts with label hidden. Show all posts
Showing posts with label hidden. Show all posts

Tuesday, March 13, 2012

The hidden part of the partial class of web page in vs 2005

Hi all,

I want to see the hidden part of the partial class of web page.

I tried to right click on the class name and click on Find All References,
although visual studio 2005 got the other references, I was prohibited from
going there by a message box saying: The definition of the object is hidden.

Is there any way to see that hidden part?

Thank you.
BishoyThese files are just in time (JIT) compiled - so they don't exist until you
run the app.

The way I do this is:

-Load the application (in 2.0 each page is it's own assembly by default, so
browse to the page you wan to see)
-Open: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files
-Open the folder that's the same name as web project
-Open whatever folder you find twice (not the _shadow). mine looked like
5365350a\c79f3d9b
-Then you'll see a bunch of dll's name something like
App_Web.asldjkasldj.dll
-Use Reflector (http://www.aisto.com/roeder/dotnet/) FREE, and open each one
up until you see your file. You should see an ASP and _ASP namespace.

Karl

--
http://www.openmymind.net/
http://www.codebetter.com/
"Bishoy George" <bishoy@.bishoy.comwrote in message
news:uRiIZZ5vGHA.5084@.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

Hi all,
>
I want to see the hidden part of the partial class of web page.
>
I tried to right click on the class name and click on Find All References,
although visual studio 2005 got the other references, I was prohibited
from going there by a message box saying: The definition of the object is
hidden.
>
Is there any way to see that hidden part?
>
Thank you.
Bishoy
>