J
JH
(I posted this on framework.setup group but got no reply. So I'm posting
it in this group again. Please let me know if this is not the right forum to
post this
question. Thanks)
So we'd like to copy the "Configured Assemblies" settings and deploy the
same list (configure the assemblies the same way) on other machines.
Is there a Windows or .NET API to get and set this information?
We tried to read the info from this file:
"%windir%\Microsoft.NET\Framework\v#.#.####\CONFIG\machine.config"
There are two issues:
1. it's probably not the documented/supported way for this purpose
2. it doesn't always work on 64bit machines. On 64bit machines, the file
is sometimes in Framework, sometimes in Framework64. Usually two
copies of the machine.config file exist. Sometimes one is modified
(when configured assemblies changes are done in mscorecfg) some
times the other file is modified. We haven't figured out when to
use which file.
it in this group again. Please let me know if this is not the right forum to
post this
question. Thanks)
So we'd like to copy the "Configured Assemblies" settings and deploy the
same list (configure the assemblies the same way) on other machines.
Is there a Windows or .NET API to get and set this information?
We tried to read the info from this file:
"%windir%\Microsoft.NET\Framework\v#.#.####\CONFIG\machine.config"
There are two issues:
1. it's probably not the documented/supported way for this purpose
2. it doesn't always work on 64bit machines. On 64bit machines, the file
is sometimes in Framework, sometimes in Framework64. Usually two
copies of the machine.config file exist. Sometimes one is modified
(when configured assemblies changes are done in mscorecfg) some
times the other file is modified. We haven't figured out when to
use which file.