cwharris
cwharris

Reputation: 18125

Add All Existing Projects Within Directory

I realize that this is not the best practices for working on individual projects. However, I had a rather large code base I am attempting to refactor, and would like to know if a change I make has modified/broken any number of existing projects.

Is there a way to add all existing projects within a specific directory to a single solution within visual studio?

If not, is there another way I could do this without manually adding each project?

Upvotes: 0

Views: 87

Answers (1)

Reddog
Reddog

Reputation: 15579

I do not believe there is a method in the box.

But if it's really going to be that tedious of a task I would use PowerShell to search the directory for a files with the csproj extension, and output a bunch of "Project" statements (along with generation of unique identifiers) that you can copy/paste into your Solution file.

Upvotes: 3

Related Questions