[英]Deploying a Web Application on IIS 7.5 (Windows 2008 R2)
I am having a problem deploying my asp.NET 4.0 web application on the web server. 我在Web服务器上部署asp.NET 4.0 Web应用程序时遇到问题。 One of the problems is that when deploying, by going to Publish...Select FileSystem...Set the Target Location of the Server , this does not copy all the references (the only dll's which are there are the class libraries which I created), for example OracleDataReader dll.
问题之一是,在部署时,通过转至发布...选择文件系统...设置服务器的目标位置,这不会复制所有引用(唯一的dll就是我创建的类库) ),例如OracleDataReader dll。
Any ideas why this is happening? 任何想法为什么会这样? should I be doing something different?
我应该做些不同的事情吗?
Right-click on OracleDataReader.dll
assembly in "Solution Explorer", select "Properties" and set "Copy Local" to "true". 右键单击“解决方案资源管理器”中的
OracleDataReader.dll
程序集,选择“属性”,并将“复制本地”设置为“ true”。 This will copy the assembly to bin
. 这会将程序集复制到
bin
。
确保已将所需的这些DLL的“ Copy Local
设置为true
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.