remove assembly from GAC

  • Thread starter Thread starter programcounter
  • Start date Start date
P

programcounter

Hello,

How can I remove assembly from the GAC?? (for example mscorlib.dll)

Is it possible to replace the mscorlib.dll(Compact Framework) with the
mscorlib.dll(.NET Framework)??
I use an assembly in my SmartDeviceApplication which has a reference
to the mscorlib.dll(.NET Framework) and so I get an exception.

Thanks
 
That's not going to work. You'll need to re-compile your assembly against
the compact framework version of mscorlib, full framework assemblies won't
work on devices. However if you compile your dll against the compact
framework you will be able to use it on the desktop so long as it doesn't
use device specific functionality e.g. SqlCe, Microsoft.WindowsCE.Forms etc

Peter
 
Back
Top