I'm surprised this key exists. I strongly caution against taking any product dependencies on left-over regkeys. We'll likely remove this functionality.
The only supported way for this is through the Hosting API for the host to specify for the app. -----Original Message----- From: Nick Wienholt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:48 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Custom Hosts, AppDomains and Domain-Neutral Assemblies If you want different behaviour from the default (which you correctly state below - mscoree.idl has comments which confirms this behaviour), and don't want to use unmanaged code, the only real option is to rely on registry settings. Under HKEY_CURRENT_USER\Software\Microsoft\.NETFramework, you can specify a DWORD LoaderOptimization value, and use the same settings as in mscoree.idl. This setting is used for all CLR apps that don't explicitly specify their own LoaderOptimization flags, and is unsupported. FWIW, I have had a play around with the CLR counters if perfmon, and can confirm that these settings work. >From what I understand, all the CorBindToRuntimeEx settings should have been made available through configuration files settings in the <configuration><runtime> section, but failed to make it due to timeline constraints. Nick Sydney Deep .NET User Group www.sdnug.org ----- Original Message ----- From: "Wilson Chiesa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 12:58 PM Subject: [DOTNET] Custom Hosts, AppDomains and Domain-Neutral Assemblies Hi guys, I have a question related to AppDomains and Custom Hosts. How can I create a custom host that loads domain-neutral assemblies using C# ? I know that you can do that using C++ and the CorBindToRuntimeEx API, but how about if I want to create the host using C# and share the assemblies between AppDomains, It is possible ? If it is not possible, what is the default method in which the assemblies are loaded ? I think it is mscoree.dll as domain-neutral and the rest one are not shared. Thanks in advanced, Wilson Chiesa. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.