Ok, a few seconds with Reflector, searching for all the members in System.Web for the word “Temporary” shows that this call calls me here:
string str2 = AppManagerAppDomainFactory.ConstructSimpleAppName(AppDomainAppVirtualPath);
But then I remember that the source code is available for all .NET, so I go to the actual code, not the reflex code: http://referencesource.microsoft.com/#System.Web/xsp/system/Web/HttpRuntime. cs # 872
"SetupCodeGenDirectory" , -,
this._codegenDir = Thread.GetDomain().DynamicDirectory;
, , DynamicDirectory. http://referencesource.microsoft.com/#mscorlib/system/appdomain.cs#2792, extern, COM Fusion Loader:
[ComImport,InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("7c23ff90-33af-11d3-95da-00a024a85b51")]
GUID http://referencesource.microsoft.com/#mscorlib/microsoft/win32/fusionwrap.cs#94
, :
public const uint HASH_VALUE = PUBLIC_KEY_TOKEN + 1;
public const uint NAME = HASH_VALUE + 1;
, NAME? , yourAssembly.GetPublicKeyToken();
, , ASP.NET http://msdn.microsoft.com/en-us/library/system.web.configuration.compilationsection.tempdirectory%28VS.80%29.aspx system.web .
<compilation tempDirectory="D:\MoveThemHere">