views:

67

answers:

4

Hi,

I have installed VS 2010 and want to upgrade all code written in VS 2005 to VS 2010.

Please note that we do not have VS 2008, all code are in C# 2.0 and Asp.net 2.0 only.

Can anyone please tell me know what points need to be considered while migrating.

Thanks in advance!

+1  A: 
Richard
+3  A: 
  1. Keep all the target framework settings to .NET 2.0. This way, there should be no compilation problem at all.
  2. The changes that you should see are the solution and project files only.
Adrian Godong
A: 

Honestly, if you're just upgrading VS 2010 you don't really need to consider much. Just keep backups (any real SCM product will do) and you're good. You don't have to upgrade your applications' runtime targets at all if you don't want to.

If you're building with CAS policy, you might run into issues with using MSBuild 4.0 to build you 2.0 applications. If you don't know what I'm talking about, never mind.

My advice is to make sure everyone's "checked in" to your source code provider, and run the conversion wizard and see how it goes.

Dave Markle
A: 

Thanks guys for quick responses. I have set target framework to 2.0 for all of my Libraries and web projects. It complies without any error!

However, when site opens in IE (Set to default.aspx), it gives me error as below:

InternalXmlHelper.vb(9) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'.

_

What needs to be done in this case, could anyone guide me.

Thanks in advance.

Chandan
hello, it would be best if you could edit your original question and add this detail to it, rather than posting it as an answer :) makes sure more people see it that way.
Zeus