Mix Dot Net 2 and Dot Net 1

H

hB

Hello all.

We have a project which is dot net 1.1 based. This project also
provides GUI framework as well as web service and database for the in-
house.
We have another smaller project (comparatively) which we are going to
develop.
For this new smaller project we are more interested to develop it on
Dot Net 2.0 with VS 2005.
But the problem for us is that our management is looking to our newer
project as that it has to be integrated at some later point to an
existing Dot Net 1.1 based application. So that this new application
will be working as an add-on or plug-in to the existing application.
We feel that there is no way we can make our newer application built
on Dot Net 2.0 and later on integrate it somehow into an existing 1.1
based application.
Note that both applications are WinForm based and both use Web
Services and Oracle database.

We are looking for advice, if their is any possibility or work around
so that our newer dot net 2.0 application could be integrated with an
existing dot net 1.0 application.
Please consider either binary compatibility or source level
compatibilities. Also note that in newer application we want to use
almost all new features of the 2.0 framework and winforms.

Any suggestion or pointers are appreciated!

Thanks
 
M

Matt Lacey

Hello all.

We have a project which is dot net 1.1 based. This project also
provides GUI framework as well as web service and database for the in-
house.
We have another smaller project (comparatively) which we are going to
develop.
For this new smaller project we are more interested to develop it on
Dot Net 2.0 with VS 2005.
But the problem for us is that our management is looking to our newer
project as that it has to be integrated at some later point to an
existing Dot Net 1.1 based application. So that this new application
will be working as an add-on or plug-in to the existing application.
We feel that there is no way we can make our newer application built
on Dot Net 2.0 and later on integrate it somehow into an existing 1.1
based application.
Note that both applications are WinForm based and both use Web
Services and Oracle database.

We are looking for advice, if their is any possibility or work around
so that our newer dot net 2.0 application could be integrated with an
existing dot net 1.0 application.
Please consider either binary compatibility or source level
compatibilities. Also note that in newer application we want to use
almost all new features of the 2.0 framework and winforms.

Any suggestion or pointers are appreciated!

Thanks

Why not just have it target .NET v1, but build it with VS2005?
 
G

Guest

You should be able to open the old projects solution in VS2005 and build it
against .net 2. Then they will all happily run together.
The other way is to build the new projects as a COM library and integrate it
through out-of-process COM (think it should work but havent done it).

I would definately choose option one. The code shouldn't need changing at
all. You will get obsolete warnings and things but just ignore it all.
 
A

Andy

Hello all.

We have a project which is dot net 1.1 based. This project also
provides GUI framework as well as web service and database for the in-
house.
We have another smaller project (comparatively) which we are going to
develop.
For this new smaller project we are more interested to develop it on
Dot Net 2.0 with VS 2005.
But the problem for us is that our management is looking to our newer
project as that it has to be integrated at some later point to an
existing Dot Net 1.1 based application. So that this new application
will be working as an add-on or plug-in to the existing application.
We feel that there is no way we can make our newer application built
on Dot Net 2.0 and later on integrate it somehow into an existing 1.1
based application.
Note that both applications are WinForm based and both use Web
Services and Oracle database.

We are looking for advice, if their is any possibility or work around
so that our newer dot net 2.0 application could be integrated with an
existing dot net 1.0 application.
Please consider either binary compatibility or source level
compatibilities. Also note that in newer application we want to use
almost all new features of the 2.0 framework and winforms.

Hi,

Basically you can leave your .Net 1.1 assemblies alone, but force the
application to run under .Net 2.0. That way the application can load
your .net 2.0 plugin. You can use the supportedRuntime and
requiredRuntime elements in your configuration file.

You should look at any breaking changes though from .net 1.1 to .net
2.0 to ensure your existing application doesn't rely on behavior which
has changed between frameworks. Ideally, you have nunit tests and you
can just fire them up in .Net 2 (using the same configuration
technique) and run the tests to ensure nothing breaks.

HTH
Andy
 
H

hB

Hi,

Basically you can leave your .Net 1.1 assemblies alone, but force the
application to run under .Net 2.0. That way the application can load
your .net 2.0 plugin. You can use the supportedRuntime and
requiredRuntime elements in your configuration file.

You should look at any breaking changes though from .net 1.1 to .net
2.0 to ensure your existing application doesn't rely on behavior which
has changed between frameworks. Ideally, you have nunit tests and you
can just fire them up in .Net 2 (using the same configuration
technique) and run the tests to ensure nothing breaks.

HTH
Andy

I think this all requires full testing of existing code written
under .net 1.1 to compile it under 2.0
And then fix/modify the code and components used in it. It could be
simple or time consuming, but our project is quite huge that gives me
bad feeling.

I do not want to use vs2005 with .net1.1 objective is to somehow use
2.0 with existing 1.1

Thanks anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top