I have this assembly that for some reason Windows started to load from this path:
C:\\Users\\marius\\AppData\\Local\\assembly\\dl3\\MP6PT6BV.2Z4\\GMRQEZL9.LC
I found the answer to my question. That is the "shadow copy" folder for the .NET framework as specified in Windows Registry under HKCU\Software\Microsoft\Fusion\DownloadCacheLocation. Shadow copying is a feature in the .NET framework to allow assemblies used in an app domain to be updated without unloading the app domain. More about this feature in MSDN http://msdn.microsoft.com/en-us/library/ms404279.aspx.
The app domain where I was loading the assembly was configured to shadow copy files, by setting the ShadowCopyFiles
property to true
.