- #Why cant you open multiple solutions in visual studio how to#
- #Why cant you open multiple solutions in visual studio zip file#
- #Why cant you open multiple solutions in visual studio update#
Let's say we have cloned this solution from Github with the intention of using it as the starting point for our own company website. Just within VS, there are a number of items we probably want to change in order to name the cloned project appropriately for our needs. Changing the Project and Solution Names in Visual Studio For more info see Keep Nuget Packages Out of Source Control with Nuget Package Manager Restore. Using Nuget Package Restore, the required packages are downloaded and updated on build. This is because in order to host the source code for this project on Github, I enabled Nuget Package Restore for the project, so that I didn't need to also host all the Nuget Packages attendant to an MVC solution. Note about the example project: The first time you open this specific project after cloning, you will see a host of errors in the VS Error List window. Let's open this project in Visual Studio. You should now find the cloned project in target directory: The Visual Studio Solution Cloned into the Target Folder: Navigate to the directory where you want to create your new project, and clone: Clone the Example Project from the Github Repo: We'll start by simply cloning the example project on Github that I used in the article on Extending Identity Accounts.
#Why cant you open multiple solutions in visual studio zip file#
If you are a new user and not familiar with Git or Github, just download the zip file from the Github page instead, and extract into the directory of choice on your local machine. Our example will start off by cloning a project from Github, but the manner in which we modify the project, solution, and directory names after that is applicable to any project.
#Why cant you open multiple solutions in visual studio how to#
We will see where the problem starts, and how to quickly address it and move on with building out our project. Additional Resources and Items of Interest.Changing the Name of the Project Directories in Windows Explorer.
#Why cant you open multiple solutions in visual studio update#
Update the Namespacing Used on the Project Files.Changing the Project and Solution Names in Visual Studio.Especially since VS allows you to rename your project and solution even from within VS, but the directory names remain unchanged. While experienced users generally understand how to do this (or how to figure it out), the first time you run into it, it can be confusing. The history of people struggling with project and solution renaming in Visual Studio is long. This is targeted at those newer to Visual Studio who may be running into this for the first time. Experienced users may wonder what the fuss is about, that it should take this much space to explain how this works.
![why cant you open multiple solutions in visual studio why cant you open multiple solutions in visual studio](http://www.urban75.org/blog/images/comacchio-ferrera-italy-33.jpg)
Note: I go into what may seem like excruciating detail in this article.
![why cant you open multiple solutions in visual studio why cant you open multiple solutions in visual studio](https://i0.wp.com/elanderson.net/wp-content/uploads/2020/10/vsNewGitSettingsAddIgnoreFileSelected.png)
In both cases, I linked to example projects on my Github repo which not only serve as examples for the article content, but in fact present the workable start for your own solution.Įxcept, they are named "YadaYadaYadaExample." In particular, when we clone a project from Github, what we end up with is a complete, workable solution, but named other than what we would like.Īs an example, I recently posted articles on Creating a Stripped-down ASP.NET Web Api Solution, as well as an article on Extending Identity Accounts and Implementing Role-Based Security in ASP.NET MVC 5. Working in Visual Studio, we often find ourselves needing to rename our project and/or solution and the directories they live in.