How do I install a NuGet package into the second project in a solution?

前端 未结 7 927
名媛妹妹
名媛妹妹 2020-12-12 09:50

I\'m currently working on a solution that initially contained one project (My.First.Project.Name). I\'ve installed Castle Windsor by executing:

         


        
7条回答
  •  有刺的猬
    2020-12-12 10:15

    The answer is, embarassingly, blindlingly simple.

    The "Package Manager Console" has a drop-down titled "Default Project" in its toolbar, changing the project there to My.Second.Project.Name then allows Install-Package Castle.Windsor to install the package into the second project.

提交回复
热议问题