The syntax of installing a package through package manager console is this:
Syntax:
Install-Package [-Id] <string> [-IgnoreDependencies] [-ProjectName <string>] [-Version <string>] [-Source <string>] [-IncludePrerelease] [-Force] [-FileConflictAction] [-DependencyVersion <dependencyVersion>] [-WhatIf]
To install a package in a particular project you have to use the following command:
PM> Install-Package somePackage -Project myProject
If you omit the -Project
parameter the default project (from the drop-down) is chosen.