is there a way provided control the project types a nuget package will install into

Aug 19, 2011 at 2:17 PM

Is there a way provided control the project types a nuget package will install into?

I have three nuget packages that are applicable for web projects, silverlight projects and phone projects.   I would liek to ensure a user doesn't inadvertantly install one of these packages into the wrong project type in a way that is better enforced then just hoping they read the name and description and get things right.

Coordinator
Aug 19, 2011 at 4:23 PM

We only support targeting framework and profile at the time. Project type targeting is much more challenging, but something we do want to consider for the future.

http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#Common_Framework_and_Profile_Targeting_Examples