Comments
4 comments
-
If you are talking about Reflector asking for the location of the assemblies, then it would have to do with your Reflector.cfg (look for the [AssemblyCache] and [AssemblyManager] sections).
Reflector doesn't automatically check the GAC like the runtime loader does, though it usually does a pretty good job of figuring out where it is and asks you to confirm it.
Do you happen to know which version of the framework you chose for default when you first opened Reflector? -
I unloaded all of the assemblies and closed Reflector. Then I opened Reflector and it asked for the version of .Net and I selected 2.0.50727 and it loaded the correct DLLs.
I assume I somehow clicked on the wrong version the first time I started it. -
The easiest way to reset Reflector is to delete the Reflector.cfg file. That is were all the settings are stored.
-
If I'm trying to analyze dependencies of an assembly that's only in the GAC, how does this help me?
e.g., I'm trying to figure out why my ASP.NET 3.5 app is bombing when trying to run a crystal report. the CR engine 10.5.3700 assembly is being reported as "not found". But I see it in the GAC.
I use reflector to see if there's some other dependencies missing, but it can't find the asmbly either.
Here haleyjason explains reflector doesn't look in the GAC. what am I missing?
Add comment
Please sign in to leave a comment.
I got a series of popup boxes that said:
Assembly File Selector
The following assembly name can not be resolved automatically:
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Please select the assembly file manually:
%SystemRoot%\Microsoft.net\Framework\v2.0.50727\System.dll
System.dll is registered in the GAC as:
Name: System
Process Architecture: MSIL
Last Modified: 3/9/2009 7:42:02 PM
Culture: Neutral
Version: 2.0.0.0
Public Key Token: b77a5c561934e089
System.dll is located in: C:\Windows\Microsoft.net\Framework\v2.0.50727\
Reflector then proceeded to open the same popup dialog box for:
%SystemRoot%\Microsoft.net\Framework\v2.0.50727\Microsoft.VisualBasic.dll
%SystemRoot%\Microsoft.net\Framework\v2.0.50727\mscorlib.dll
%SystemRoot%\Microsoft.net\Framework\v2.0.50727\System.Windows.Forms.dll
%SystemRoot%\Microsoft.net\Framework\v2.0.50727\System.Data.dll
Why was I prompted to select a bunch of dlls when they appear to be registered in the GAC correctly and are in the proper location?