Question

I have one solution (a) that has several projects (1,2,3)

I want to take one of the projects (say 2) and make it part of another solution also (b)

so that solution (a) consists of projects {1,2,3} and solution (b) consists of projects {2,4,5,6}

Is that possible in VS2012?

Était-ce utile?

La solution

Of course it is. You add the project (2) in solution (b) via Add -> Existing Project. But be careful changes in one solution on project affects your other solution as well.

enter image description here

Autres conseils

If you are including a project to a solution that has not yet used Nuget and the project you are including does, you have to add the .nuget folder or you will get an error:

.nuget nuget.targets was not found

on the project. The easiest way to add the folder is to:

  1. Install Nuget.
  2. Right click on the solution and select "Enable NuGet Package Restore".
  3. Click Ok on the warning.
  4. Close and re-open the solution.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top