开发者

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

开发者 https://www.devze.com 2023-04-09 14:21 出处:网络
I have a dll created in VS 2010. i put it into the a开发者_如何学Gopp_code folder on the 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

精彩评论

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

关注公众号