NuGet package for ASP.NET MVC 3

后端 未结 4 1889
醉梦人生
醉梦人生 2020-12-09 17:05

I have recently started to use NuGet and I was wondering if there is an asp.net mvc 3 package that I can install so that I do not have to reference the aspnet mvc3 assemblie

4条回答
  •  借酒劲吻你
    2020-12-09 18:00

    If you're using Visual Studio 2010 SP1, you can right click on the project and select "Add Deployable Assemblies". Select the ASP.NET MVC 3 option. That'll add the MVC assemblies to a special directory which will ensure they are in the bin directory when building/publishing your web application.

提交回复
热议问题