Nuget a specific package to a specific project

In Visual Studio I sometimes need to install a specific package to a specific project

In this case I wanted to try structuremap, but the latest version required .NET 4.5 and I was using 4.0

I also only wanted it installed into 1 particular project. It’s pretty easy – but as an aid to my memory I’m adding it here:

Install-Package StructureMap.MVC4 -Version 2.6.4.3 -Project MyProject.Projectname

Leave a Reply

Your email address will not be published. Required fields are marked *