RE: Custom Module will not debug

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



Hi Dave,

Thanks for your feedback.

This is not a feature of Visual Studio. It is the .Net loader algorithm
that probes the GAC first. This is documented in the link below:
http://msdn2.microsoft.com/en-us/library/yx7xezcf.aspx

Note: .Net loader will only probe GAC for strong named assembly. This
algorithm decision is introduced to address the DLL Hell and version
conflict problem pre-.Net. So, for debugging purpose, you may not deploy
your strong named assembly into the GAC. Once the .Net loader can not find
your strong named assembly in GAC, it will use your private folder assembly
instead. This will be convenient for development debugging.

Additionally, one approach to find out where your assembly is loaded from
is using Debug->Windows->Modules window. In this window, you can find your
assembly module and its full path.

Hope this makes sense.

Best regards,
Jeffrey Tan
Microsoft Online Community Support

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/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • Re: Assembly.LoadFrom
    ... This method also looks for and loads all dependant assembly items. ... long as a strong-named assembly is added to the GAC, ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework)
  • RE: Custom Module will not debug
    ... is "Kailua.dll" your custom module? ... The .Net loader will first probe the system GAC before probing your private ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.debugging)
  • Re: Auto-updating GAC; loading from GAC vs. server
    ... When you're saying "Auto-updating GAC", do you mean assemblies ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.general)
  • RE: Global.asax not checking the GAC
    ... Here is the MSDN reference about Assembly Name: ... Microsoft MSDN Online Support Lead ... from the community or a Microsoft Support ... Global.asax not checking the GAC ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Trying to get reference from the GAC
    ... I had assumed there was a way to say "look in the GAC" without giving it the ... the system assemblies seems be particularly ... I don't think it is safe to redirect the reference ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.vsnet.general)