tags:

views:

50

answers:

2

Is there any better way for converting code written in .net framework 1.1 to framework 2.0 rather than manually checking entire application and changing individually

+1  A: 

Why would you do it manually?

Just load it into newer version of Visual Studio. It will leave you with report of what was converted and where possible issues could be. I used it on quite a few projects and had no issues (once you check each item on report).

Josip Medved
Sure,,Is there any tool for the conversion
peter
I am not aware of such tool. Visual Studio does great job of converting it and if it says in report that you need to check something.
Josip Medved
+1  A: 

Visual Studio will try to do all that it can, when you open the project with Visual Studio 2005 or 2008. However you'll still have to fix some parts manually.

Especially when it's a web application.

You might want to review your application for things like ArrayLists and replace them with List<> and other .NET 2.0 constructs (be careful if you do, this could result in a lot of work).

Zyphrax
Sure,,Is there any tool for the conversion
peter
+1 because of the Web Application caveat.
Paul Alan Taylor
Re web applications - the problem is when you're using VS2005 without the Web Application project addin (which IIRC is in SP1). In that case, you get converted to a web site and generally lots of confusion. If you dont do that migration, you dont experience the same level of deep pain.
Ruben Bartelink
I don't think a tool would be that helpful. An Arraylist for example can contain any type of object, it's hard to infer what the actual type should be. Refactoring could save you some time.
Zyphrax