开发者

Converting .net 1.1 to .net 2.0

how we can conver开发者_Python百科t .net 1.1 to .net 2.0 without any change in code?


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


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.


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

    Converting .net 1.1 to .net 2.0

  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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜