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. 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 whi开发者_如何学编程ch are there are the class libraries which I created), for example 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". This will copy the assembly to bin
.
Make sure that you have set Copy Local
to true
for these DLLs that you require.
精彩评论