开发者

how to import a dll into a asp.net web application running on webserver

I have a dll created in VS 2010. i put it into the a开发者_如何学Gopp_code folder on the webserver and then i accesses it by trying to use imports GetWebPageData

the dll is in the vs project under bin/debug if that means anything


You need to copy the DLL to the bin (instead of app_code) folder of the web server, and even better - click on Add Reference on the Web Site in Visual Studio and add your DLL as a reference. And you should also probably read some more about ASP.NET fundamentals

Here is an article that explains ASP.NET compilation in detail: http://www.west-wind.com/presentations/AspNetCompilation/AspNetCompilation.asp

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜