Migrate ASP.Net project from VS 2003 to VS 2005 (Framework 1.1 to later version)

By Ashish Khandelwal, July 30, 2009

Problem

We have a VS 2003 enabled ASP.Net project in \ABC folder. We need to perform an analysis to find out challenges to migrate this project to VS 2005 – as we need to submit the report to the client. Therefore we do not want to touch the copy and the folder structure which is mapped with Version Control tool. Normally the steps we followed – We copy all files from \ABC folder into different location  – say \XYZ folder. Now to use the same Virtual Directory/Web Site we go to the IIS and change the “Local Path” of that Virtual directory to target the \XYZ location. Now open the .sln file (in which ASP.Net project is) in VS 2005, the conversion wizard will start – select no for backup – go up to finish and then finish.  Make some changes in any file, save it. Go to \XYZ directory and open the changed file in any other edition – say notepad. Try to find out the changes you made – Surprise – the changes are not here – so where they are? Now go the \ABC directly, open the same file in NotePad that you modified in VS 2005, you will see the changes are here. HOW? Why VS 2005 made changes in \ABC location – don’t you think it should make changes in \XYZ location as your Virtual directory is targeted to \XYZ, you opened the solution/project from \XYZ – then why?

I still don’t know the reason. But here is a quick solution:

Solution

Before you open ASP.Net project in VS 2005 from \XYZ directory, just rename the \ABC folder.

VN:F [1.7.2_963]
Rating: 3.0/5 (1 vote cast)

7 Responses to “Migrate ASP.Net project from VS 2003 to VS 2005 (Framework 1.1 to later version)”

  1. GlenStef says:

    ashishkhandelwal.arkutil.com – da best. Keep it going!
    GlenStef

  2. Zoran says:

    Thank you! I would now go on this blog every day!
    Zoran

  3. Elcoj says:

    Thank you! I would now go on this blog every day!

  4. Charlie says:

    Greatings, ashishkhandelwal.arkutil.com to GoogleReader!
    Have a nice day

  5. Sudheer Namdeo says:

    Thanks Ashish, Nice solution.

  6. Charlie says:

    Hello,
    I have already seen it somethere…
    Have a nice day

  7. SonyaSunny says:

    Hi, I have already seen it somethere…
    SonyaSunny

Leave a Reply