Redirecting Assembly Versions
Hi,
I ran across some information about redirecting assembly version. It said
you can use a redirect statement in the app.config file. Could someone
please help me with this redirect statement. The statement in my file is;
</appSettings>
<startup>
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v1.1.4322" />
</startup>
</configuration>
I would like for this to direct to runtime version 2.0
Thanks Perry Langla
Re: Redirecting Assembly Versions
>I ran across some information about redirecting assembly version.
You do that with the <bindingRedirect> element in the config file. But
redirecting assembly versions will not help you change the CLR
version.
><startup>
>
><supportedRuntime version="v1.1.4322" />
>
><supportedRuntime version="v1.1.4322" />
>
></startup>
>
></configuration>
>
>I would like for this to direct to runtime version 2.0
Add a <supportedRuntime> element with v2.0.50727. If both 1.1 and 2.0
are installed and you add that to your config file, it will cause the
2.0 runtime to be used for your app.
Mattias
--
Mattias Sjögren [C# MVP] mattias [at] mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.