Adu
Adu

Reputation: 381

Converting .net 1.1 to .net 2.0

how we can convert .net 1.1 to .net 2.0 without any change in code?

Upvotes: 2

Views: 471

Answers (3)

Pankaj Rawat
Pankaj Rawat

Reputation: 4573

I followed below steps and work for me

  1. Change Target framework version 2.0 (I had 10 proj. in my solution)
  2. Update Nuget packages with latest version (some of the previous packages are not compatible with .net core 2.0)
  3. Build your solution, I got some error because some of the methods are obsolete. e.g enter image description here
  4. If you will get similar error you need to check suggested link and need to fix.

That's it. :)

You can explore .net 2.0 - https://youtu.be/Q2mMbjw6cLA

Upvotes: 0

Jens
Jens

Reputation: 25563

Not every program can be converted from 1.1 to 2.0 without any change to its code. You might get lucky on your project, though.

See the breaking changes between 1.1 and 2.0.

Upvotes: 1

Amit Rai Sharma
Amit Rai Sharma

Reputation: 4225

I think there might be scenario where code changes are required and may be not. It all depend on your code base. For a start point you can check following links:

.NET 1.1 to .NET 2.0 Migration

Migrating from .NET 1.1 to 2.0, 3.0 and 3.5

Upvotes: 5

Related Questions