What is AppData \ Local \ assembly \ dl3 cache?

I have this assembly, which for some reason, Windows started to boot from this path:

C:\Users\marius\AppData\Local\assembly\dl3\MP6PT6BV.2Z4\GMRQEZL9.LCB\46d762c5\8cf066ff_7eaecc01\X.DLL 

This means that any changes I make for the assembly, the new copy is not loaded from the output folder, but from this cached folder. I tried to delete the folder, even after restarting Windows, it was created again and the assembly was loaded from there.

So how can I get rid of him? What should I do to tell the system to load the DLL from the output folder, and not from the cache?

+16
.net-assembly caching
Nov 29 2018-11-11T00:
source share
1 answer

I found the answer to my question. This is the shadow copy folder for the .NET platform, as indicated in the Windows registry under "HKCU \ Software \ Microsoft \ Fusion \ DownloadCacheLocation". Shadow copying is a feature in the .NET platform that allows you to update the assemblies used in the application domain without unloading the application domain. Read more about this feature on MSDN http://msdn.microsoft.com/en-us/library/ms404279.aspx .

In the application domain where I downloaded the assembly, a shadow copy of the files was configured by setting the ShadowCopyFiles property to true .

+22
Nov 29 '11 at 14:45
source share



All Articles