|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Configure runtime version not using app.exe.config?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. 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. > 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. > > > > > > 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. >>>
Other interesting topics
|
|||||||||||||||||||||||