tags:

views:

88

answers:

3

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

A: 

Just change the target framework to .NET Framework 2.0.

You shouldn't need to change any code, but if you do, it shouldn't be too drastic to fix

Charlie Somerville
If he has a 1.1 project, he probably uses VS 2005, where you cannot change the target framework that easily.
Jens
+1  A: 

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.

Jens
That's just plain un-true. In general *you can*, and very easily. Of course, there are always cases where you get problems, but these are all resolvable.
Dan Diplo
@Dan: The question states "without any change in code". When I said "in general" I meant "there exists a program, where this is not possible". Damn mathematical education. =)
Jens
@Jens OK, understood - the new wording makes more sense to my English-educated mind :)
Dan Diplo
+4  A: 

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

ARS