471,317 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

Can't debug after loading a library into the Global Assembly Cache

I'm making a project to read custom attributes from assemblies, and in
order to read them using the assembly.getCustomAttributes(type, false)
method, I have to add my custom attribute library to the GAC, along
with singing it. So I signed it and used the gacutil -i "[dll
location]" command and for the first Debug it worked great, I was able
to read my custom attribute unlike before, however every Debug attempt
afterwards I receieved the following message:

"The following module was built either with optimizations enabled or
without debug information:

C:\WINDOWS\assembly\GAC_MSIL\Gadget\ ed5269f58c\Gadget.dll

To debug this module, change its project build configuration to Debug
mode. To suppress this message, disable the 'Warn if no user code on
launch' debugger option."

The project is in debug mode, will startup fine, but won't debug, and
breakpoints in the library that was put in the GAC aren't hit......any


Jan 30 '06 #1
0 1046

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.