0

How to add a reference to an assembly which is registered in the GAC at runtime?

I'd like to reference Oracle.DataAccess.dll from the Gac depending on the Run Time Server and its GAC rather than Build Server and Build Time.

But Add Reference dialog adds the build server gac version.

The Light
  • 26,341
  • 62
  • 176
  • 258
  • Possible duplicate of http://stackoverflow.com/questions/2279341/c-how-to-load-assembly-from-gac – Baldrick Dec 12 '13 at 11:59
  • That's an incredibly bad idea, turning DLL Hell from a runtime problem into a build problem makes it a hundred times worse. – Hans Passant Dec 12 '13 at 14:58

0 Answers0