I am compiling from csc.exe (well, CruiseControl is ...) and I need to reference the DLL in the GAC. I do not have the correct version of this DLL as a simple file, but the GAC has the correct version.
However, you cannot reference assemblies in the GAC using csc - you must have the path to the actual file.
I found several links that claim that you can reverse engineer the path to the actual file, but I was not able to get them to work. I have activated Fusion logging and I can see where the runtime is coming from, but using the path to it in my link does not work.
So, how do you provide csc with a link to the version of the assembly that exists only in the GAC?
Deane source share