1

I have an Asp.Net project in Visual Studio 7.1 , Now when I open it in Visual Studio 2008 , I can't access to project files :

image
(source: picfront.org)

How can I open the project with VS2008 or VS2010 ?

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Mohammad Dayyan
  • 21,578
  • 41
  • 164
  • 232

2 Answers2

3

Open the sln file with a simple text editor (make backup)

and search for your project that did not find, and correct the directory path.

You have probably a line like that... you need to fix the dir, saved it and open it again.

   Project("{XXXX-XXXXX-XXXX}") = "PECeShopSame", 
"Dir1\PECeShopSame\PECeShopSame.csproj", "{XXXX-XXXXX-XXXX}"
Aristos
  • 66,005
  • 16
  • 114
  • 150
1

I see this is old post but I learned that you can also accomplish converting the .csproj file by browsing to the .csproj file and double-clicking on it. Visual Studio will open and offer to convert it for you - follow the wizard. As a final step in the wizard, it will prompt you to select the project in solution explorer and convert to web application.

I had situation where the files didn't appear in solution explorer after converting .csproj file therefore I couldn't select "convert to web application". I closed the (empty) solution then opened as web site (instead of project/solution) and all was well!

Doreen
  • 714
  • 2
  • 14
  • 36