You need to put the .pdb file in the same physical directory as the assembly in the GAC. Do do this you have to use the command line as a shell extension masks the physical makeup of the GAC. You want to put the .pdb file in the following directory:
c:\<windir>\ass emblies\gac\<si mple name>\<version> _<culture or blank>_<public key token>
You dont' want to do that - debug it when it's in debug mode and in the
application or debug directory or whatever. Then when you know it works as
you want, put it in release mode, do a build, build the setup project, and
that will install it into the GAC. You shouldn't ever need to *debug* it once
it's already in the GAC...
If you 're doing production-mode debugging (i.e. debugging that *has* to be
done on a computer that doesn't have the IDE installed) you'd want to be
doing a "special edition" build with a setup project that doesn't install to
the GAC.
"Julia" wrote:
[color=blue]
>
> Is it possible to debug an application when with assemblies added to the
> GAC?
> I cannot set break points?!
>
> Thanks
>
>
>[/color]
You dont' want to do that - debug it when it's in debug mode and in the
application or debug directory or whatever. Then when you know it works as
you want, put it in release mode, do a build, build the setup project, and
that will install it into the GAC. You shouldn't ever need to *debug* it once
it's already in the GAC...
If you 're doing production-mode debugging (i.e. debugging that *has* to be
done on a computer that doesn't have the IDE installed) you'd want to be
doing a "special edition" build with a setup project that doesn't install to
the GAC.
Comment