Reputation: 25213
I want to know how we can add projects in single solution file.
When I create the solution and try to add projects in it, the solution file is not visible.
How can I add projects/websites to the solution file?
Upvotes: 12
Views: 21825
Reputation: 356
These are the steps, From Start to End, using Web API and MVC as examples:
Create new project->Web API->rename MainSolutionName.Web.API
Solution->rename->MainSolutionName
uncheck 'place solution and project in the same directory'
Once Created
Right-Click -> MainSolutionName
Add->New Project->MVC
project name->rename->MainSolutionName.Web
These are the steps I used.
Upvotes: 0
Reputation: 2529
On Visual Studio for Mac, right-click the solution name in the Solution Pad, then choose Add ➞ Add New Project.
Upvotes: 2
Reputation: 7107
Ran into this problem today, and the solution was a little different. I was actively debugging a program and wanted to add a new project to a solution. I was not able to right click->Add until I exited the debugger.
Upvotes: 0
Reputation: 31071
"Tools" menu -> "Options" dialog -> "Projects and Solutions" tree node -> "General" tree node -> "Always show solution" checkbox. Make sure it's ticked.
Upvotes: 16
Reputation: 7941
Reset your VS settings.
Tools => Import and Export Settings...
Choose 'General Development Settings' from settings collection.
Upvotes: 0