简体   繁体   English

asp.net:在asp.net MVC中将dll放入Bin文件夹中是否可以工作?

[英]asp.net: Should dropping dlls into the Bin folder work in asp.net MVC?

I am using Visual Stidio 2010 Beta 2 and just started using MVC, I copied a bunch of dlls into a Bin folder and Included this Bin folder in the project. 我正在使用Visual Stidio 2010 Beta 2,并且刚开始使用MVC,我将一堆dll复制到Bin文件夹中,并将此Bin文件夹包括在项目中。 It seems that there is no reference to these dlls from Controller classes? 似乎没有从Controller类引用这些dll?

Is this an MVC thing, or a broken project/VS installation? 这是MVC,还是项目/ VS安装损坏?

What do you mean by "included this bin folder in the project", to add a reference, you need right click the project in visual studio, click "Add Reference", then add those dlls into your project. “添加此bin文件夹到项目中”是什么意思,要添加引用,您需要在Visual Studio中右键单击该项目,单击“添加引用”,然后将这些dll添加到您的项目中。 Is this what you are looking for? 这是你想要的?

edit - JW answered as I was typing. 编辑-JW在我键入时回答了。 :) :)

Instead of dropping them in the bin folder, try right clicking on "References" and adding them using the Browse... tab. 与其将它们放入bin文件夹,不如尝试右键单击“参考”,然后使用“浏览...”选项卡添加它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM