Migrating .NET 2.0 codebase to 3.5

-------------------------------------------------------
Goto blog home
Visit my new blog dedicated to Internet of Things, Embedded Programming & Automation
-------------------------------------------------------
Prerequisites for development:
1. Windows XP/Windows 2003
2. Visual Studio 2008
3. .NET 3.5 Framework
4. Add-Ons (like AJAX Extensions, Enterprise Library, Oracle Client, Crystal Reports, etc)

Prerequisites for test server:
1. Windows 2003 Server
2. .NET 3.5 Framework
3. Add-Ons (like AJAX Extensions, Enterprise Library, Oracle Client, Crystal Reports, etc

Migration Method:
1. Make a copy of the codebase (v2.0) and open the codebase using Visual Studio 2008.
2. VS 2008 will do whatever it needs to do and covert the 2.0 code to as much 3.5 as possible.
3. Specify the target framework property. Refer to http://msdn.microsoft.com/en-us/library/bb398202.aspx
4. Now compile the codebase in VS 2008 - it might list errors and warnings.
5. Fix the errors and warnings as needed.

Estimated Effort:
1. Code migration can be as little as under one day to several days depending on size and complexity.
2. The main effort will be Remediation testing.

No comments:

Post a Comment