Framework 1.0 application port to 2.0

H

Hemang Shah

Hello I have an application I developed on the 1.1 framework.

Now I want to take advantage of the 2.0 framework in my application..

Can I just recompile my existing code on 2.0?

How does this work and how do I do it?

Just open the application source on VS 2005 and compile it ?

Any documentation on this ?

Thanks
 
G

Greg Young

You may just be able to compile it in 2.0. Obviously as you take advantage
of the new functionalities, they will require re-design of old areas
(generics are a great example of this).

I would take a look through the breaking changes to see if there is anything
that effects you
http://msdn.microsoft.com/netframework/programming/breakingchanges/default.aspx

I would also take a look at the obsolete API list
http://msdn.microsoft.com/netframework/programming/obsoleteapi/

Also I just noticed that you were coming from 1.0 (not 1.1, you hsould
probably look over the changes from 1.0 to 1.1 as well).

Cheers,

Greg Young
MVP - C#
http://geekswithblogs.net/gyoung
 
S

slawrence

Most 1.1 applications will run just fine in 2.0. Just open the solution in
VS2005 and it will backup and convert your solution. When you compile again
you may see warnings of any code that has become obsolete (lots of changes
in the configuration area - need to add a reference to
System.Configuration.dll which is new to 2.0)

Have a look at the What's New in the .NET Framework section in the help to
see the changes in .Net 2.0.

Good luck.

Steven
 

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