locked
Upgrading to VS 2010 RRS feed

  • Question

  • User-2048571045 posted

    I have an asp.net web application that was written in VS 2003 and I have upgraded it to VS 2008.

    I am now trying to upgrade it to VS 2010 but keep getting the following error: "The Selected file is not a valid Solution File".

    Anyone know why I am getting this error message?

    hanks.

    Thursday, April 25, 2013 5:33 AM

Answers

All replies

  • User541108374 posted

    Hi,

    in the generated report you get, is there an indication which file goes wrong?

    Grz, Kris.

    Thursday, April 25, 2013 5:41 AM
  • User-2048571045 posted

    No indication, that's all the message says.

    Thursday, April 25, 2013 6:02 AM
  • User-166373564 posted

    Hi macca

    I am now trying to upgrade it to VS 2010

    I think you should learn the procedures of migrating from .net framework 1.0 to .net framework 3.5 first, it will be helpful to troubleshoot this issue,

    •First upgrade your code from .NET 1.0 to .NET 1.1 using Visual Studio 2003. It has a project upgrade tool with some assistance.

    •Next use Visual Studio 2008 to upgrade the project from .NET 1.1 to .NET 2.0. The upgrade wizard here does not change your code. It will show you warnings for things that you have to change but you will have to go change them. You also have to fix all your new compile errors and do a full retest.

    •Once you're at .NET 2.0 the migration to .NET 3.0 and .NET 3.5 is easy. It's primarily just about using the new features available in these new versions of the framework. All your existing code should work fine, in fact you most likely wont even need to recompile.

    For further information, you can see: http://blogs.msdn.com/b/pandrew/archive/2007/10/25/how-to-upgrade-from-net-framework-1-0-to-net-framework-3-5.aspx

    With regards

     

    Friday, May 3, 2013 7:45 AM
  • User-2048571045 posted

    Hi Angie,

    Thanks for the reply.

    I have upgraded a number of systems from .net 1.1 to .net 4.0 going through the steps you mention but this is the first project were I have encountered these errors and I am confused as to why I am getting them.

    Friday, May 3, 2013 8:12 AM
  • User71929859 posted

    Hello,

    I have upgraded a number of systems from .net 1.1 to .net 4.0 going through the steps you mention but this is the first project were I have encountered these errors and I am confused as to why I am getting them.

    Try the solution in the below posts

    http://blog.jmjtwin.com/the-selected-file-is-not-a-valid-visual-studio-solution-solved/

    http://it.toolbox.com/blogs/parthas/vs-net-error-unable-to-open-project-file-5010

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 3, 2013 2:52 PM