Can't use NuGet in website project

Dec 14, 2010 at 10:16 AM

When I use NuGet in a ASP.NET Website project, it only put the package.config into the site, and the package contents in the folder of the solution. The web.config isn't touched, and the package content won't show up in the bin folder. Is this by design? Or am I doing things wrong?

If I change the project type to Webapplication, it does work though...

Dec 14, 2010 at 5:05 PM

It should work in WebSites.  Can you give more details about the exact steps that you are taking?  i.e. What command are you typing?

Dec 19, 2010 at 12:25 AM

I have the same issue with some packages.


Through the Pakcage Manager UI I installed EFCodeFirst.

It works in Web Application projects (packages folder is created, EFCodeFirst.0.8 folder is created, reference to the .dll is added in the project), but in Website projects it just adds the entry in package.config, but does not do anything else.

Dec 19, 2010 at 6:42 AM

You are correct, there is an issue with Web Sites.  We are investigating...

Dec 20, 2010 at 9:20 PM

This is being tracked by

Dec 21, 2010 at 5:39 PM

Cool! It is a path problem, so I can work around it :) Keep up the good work!