Cook Computing

Stuck in the Cache

September 1, 2004 Written by Charles Cook

I just wasted a couple of hours. I was doing some final testing of the long overdue next release of XML-RPC.NET and found that whereas running unit tests from Visual Studio worked fine, building the release and running the tests from NAnt resulted in a failure in the most recent test I had written. After going down lots of dead ends I finally wondered whether I had somehow placed the XML-RPC.NET dll in the GAC and it was being loaded from there. This triggered off another thought about the download cache, and sure enough clearing the cache solved the problem. Somehow, even though I was rebuilding the assembly, the loader was choosing the old version in the cache. Very frustrating. The release will have to wait until tomorrow now. To clear the download cache:

gacutil /cdl