|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET 1.1 and .NET 2.0 compatibility questionIs it possible to run assemblies generated for .NET 1.1 under .NET 2.0?
I am not sure I am expressing the question properly. The situation is that we have some developers using Visual Studio 2003 and others using Visual Studio 2005. Both groups are generating Windows Forms and Web Applications; the IIS for each group is configured appropriately with as to the version of the framework. The clients are are also segregated as to the version of the framework. We would like to configure the clients and the servers with .net 2.0 framework. Will the clients and IIS run .NET 1.1 assemblies? Thanks Hello intrader,
i> Is it possible to run assemblies generated for .NET 1.1 under .NET i> 2.0? Yes i> I am not sure I am expressing the question properly. The situation is i> that we have some developers using Visual Studio 2003 and others i> using Visual Studio 2005. Both groups are generating Windows Forms i> and Web Applications; the IIS for each group is configured i> appropriately with as to the version of the framework. The clients i> are are also segregated as to the version of the framework. i> i> We would like to configure the clients and the servers with .net 2.0 i> framework. Will the clients and IIS run .NET 1.1 assemblies? First, you can specify the version of ASP.NET handler that IIS use Second, you can specify the desired assembly version in your app config --- WBR, Michael Nemtsev :: blog: http://spaces.live.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche Michael Nemtsev wrote:
Show quote > Hello intrader, As I understand your answers:> > i> Is it possible to run assemblies generated for .NET 1.1 under .NET > i> 2.0? > > Yes > > i> I am not sure I am expressing the question properly. The situation is > i> that we have some developers using Visual Studio 2003 and others > i> using Visual Studio 2005. Both groups are generating Windows Forms > i> and Web Applications; the IIS for each group is configured > i> appropriately with as to the version of the framework. The clients > i> are are also segregated as to the version of the framework. > i> i> We would like to configure the clients and the servers with .net 2.0 > i> framework. Will the clients and IIS run .NET 1.1 assemblies? > > First, you can specify the version of ASP.NET handler that IIS use > Second, you can specify the desired assembly version in your app config > > --- > WBR, > Michael Nemtsev :: blog: http://spaces.live.com/laflour > > "At times one remains faithful to a cause only because its opponents do > not cease to be insipid." (c) Friedrich Nietzsche > > 1. NET2.0 runs NET1.1 assemblies runwithout change except that the app config must state whether assembly is 1.1 or 2.0. (by the way does this affect the build?) 2. IIS must be configured for a virtual directory to use the appropriate handler. Is this correct? or am I still not understanding? Thanks Hello intrader,
i> Michael Nemtsev wrote: i> Show quote >> Hello intrader, i> As I understand your answers:>> >> i> Is it possible to run assemblies generated for .NET 1.1 under .NET >> i> 2.0? >> >> Yes >> >> i> I am not sure I am expressing the question properly. The situation >> is >> i> that we have some developers using Visual Studio 2003 and others >> i> using Visual Studio 2005. Both groups are generating Windows Forms >> i> and Web Applications; the IIS for each group is configured >> i> appropriately with as to the version of the framework. The clients >> i> are are also segregated as to the version of the framework. >> i> i> We would like to configure the clients and the servers with >> .net 2.0 >> i> framework. Will the clients and IIS run .NET 1.1 assemblies? >> First, you can specify the version of ASP.NET handler that IIS use >> Second, you can specify the desired assembly version in your app >> config >> >> --- >> WBR, >> Michael Nemtsev :: blog: http://spaces.live.com/laflour >> "At times one remains faithful to a cause only because its opponents >> do not cease to be insipid." (c) Friedrich Nietzsche >> i> 1. NET2.0 runs NET1.1 assemblies runwithout change except that the i> app i> config must state whether assembly is 1.1 or 2.0. (by the way does i> this i> affect the build?) Both version works fine side-by-side, in you 2.0 app u can just reference to the desired 1.1 class library and to work without problems. Redirect is required when u have the same library but build in different versions i> 2. IIS must be configured for a virtual directory to use the i> appropriate i> handler. Yep, as I remember u need just specify the version of aspnet.dll for your virtual folder --- WBR, Michael Nemtsev :: blog: http://spaces.live.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche Michael Nemtsev wrote:
Show quote > Hello intrader, Thank you; most helpful> > i> Michael Nemtsev wrote: > i> >>> Hello intrader, >>> >>> i> Is it possible to run assemblies generated for .NET 1.1 under .NET >>> i> 2.0? >>> >>> Yes >>> >>> i> I am not sure I am expressing the question properly. The situation >>> is >>> i> that we have some developers using Visual Studio 2003 and others >>> i> using Visual Studio 2005. Both groups are generating Windows Forms >>> i> and Web Applications; the IIS for each group is configured >>> i> appropriately with as to the version of the framework. The clients >>> i> are are also segregated as to the version of the framework. >>> i> i> We would like to configure the clients and the servers with >>> .net 2.0 >>> i> framework. Will the clients and IIS run .NET 1.1 assemblies? >>> First, you can specify the version of ASP.NET handler that IIS use >>> Second, you can specify the desired assembly version in your app >>> config >>> >>> --- >>> WBR, >>> Michael Nemtsev :: blog: http://spaces.live.com/laflour >>> "At times one remains faithful to a cause only because its opponents >>> do not cease to be insipid." (c) Friedrich Nietzsche >>> > i> As I understand your answers: > i> 1. NET2.0 runs NET1.1 assemblies runwithout change except that the > i> app > i> config must state whether assembly is 1.1 or 2.0. (by the way does > i> this > i> affect the build?) > > Both version works fine side-by-side, in you 2.0 app u can just > reference to the desired 1.1 class library and to work without problems. > Redirect is required when u have the same library but build in different > versions > > i> 2. IIS must be configured for a virtual directory to use the > i> appropriate > i> handler. > > Yep, as I remember u need just specify the version of aspnet.dll for > your virtual folder > > --- > WBR, > Michael Nemtsev :: blog: http://spaces.live.com/laflour > > "At times one remains faithful to a cause only because its opponents do > not cease to be insipid." (c) Friedrich Nietzsche > > |
|||||||||||||||||||||||