Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I couldn't find a .sln file in my directory so how to open my project in Visual Studio?

I'm trying to run my group project but when I try to open project folder, it shows an empty folder.

How to import my project?

Folder contents:

enter image description here

like image 506
Developer Avatar asked Oct 18 '25 10:10

Developer


2 Answers

Open your project as website.

Open VS -> Go to -> File -> Open Website (Shift+Alt+O) -> select Your parent directory of your project (web site)

see this wonderful article of MSDN

like image 140
Darshan Faldu Avatar answered Oct 20 '25 01:10

Darshan Faldu


First Enable Show hidden files in folder option . In your solution folder you must have a folder named .vs in this folder you can find your solution file (*.sln). Copy that to your solution folder .

If not found

You must manually add all projects to new Solution

  • in Visual Studio. Go to file -> New Project

  • Then go to Other Project Types -> Visual Studio Solutions , You should see Blank Solution

  • create a blank solution.

  • right click on the solution and go to Add -> Existing Project and select your projects.

like image 21
mohsen Avatar answered Oct 19 '25 23:10

mohsen