Home All Groups Group Topic Archive Search About

Configure runtime version not using app.exe.config?

Author
19 Mar 2005 4:51 PM
Neo The One
It may sound a little stupid, but I'd really like to know if there is any
other ways to configure an application to run in a specified .NET runtime
version (1.0, 1.1 or 2.0).

Thanks.
Author
19 Mar 2005 5:13 PM
Brock Allen
You mean other than the <supportedRuntime> element in your .config file?

<configuration>
   <startup>
    <supportedRuntime version="v2.0.41202"/>
   </startup>
</configuration>

-Brock
DevelopMentor
http://staff.develop.com/ballen



Show quoteHide quote
> It may sound a little stupid, but I'd really like to know if there is
> any other ways to configure an application to run in a specified .NET
> runtime version (1.0, 1.1 or 2.0).
>
> Thanks.
>
Are all your drivers up to date? click for free checkup

Author
20 Mar 2005 5:27 AM
Neo The One
Yes. I want to know if it is possible to create a app domain and specify its
runtime version.

BTW, I got this question when I play with Cassini sample Web server.

I want to modify the code to let me to select a runtime version to host
ASP.NET. The current Cassini code only creates a host running on the runtime
that the controller EXE app runs on.

Show quoteHide quote
"Brock Allen" wrote:

> You mean other than the <supportedRuntime> element in your .config file?
>
> <configuration>
>    <startup>
>     <supportedRuntime version="v2.0.41202"/>
>    </startup>
> </configuration>
>
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>
>
> > It may sound a little stupid, but I'd really like to know if there is
> > any other ways to configure an application to run in a specified .NET
> > runtime version (1.0, 1.1 or 2.0).
> >
> > Thanks.
> >
>
>
>
>
Author
20 Mar 2005 1:26 PM
Brock Allen
One you've loaded the CLR into a Win32 process then you're done, meaning
you can only load one version of the CLR per process.

-Brock
DevelopMentor
http://staff.develop.com/ballen



Show quoteHide quote
> Yes. I want to know if it is possible to create a app domain and
> specify its runtime version.
>
> BTW, I got this question when I play with Cassini sample Web server.
>
> I want to modify the code to let me to select a runtime version to
> host ASP.NET. The current Cassini code only creates a host running on
> the runtime that the controller EXE app runs on.
>
> "Brock Allen" wrote:
>
>> You mean other than the <supportedRuntime> element in your .config
>> file?
>>
>> <configuration>
>> <startup>
>> <supportedRuntime version="v2.0.41202"/>
>> </startup>
>> </configuration>
>> -Brock
>> DevelopMentor
>> http://staff.develop.com/ballen
>>> It may sound a little stupid, but I'd really like to know if there
>>> is any other ways to configure an application to run in a specified
>>> .NET runtime version (1.0, 1.1 or 2.0).
>>>
>>> Thanks.
>>>

Bookmark and Share