简体   繁体   中英

C# dll beginner - where does it go?

So i've created my first C# Class Library. I've created my one method. I've got my dll and have set the reference in my web project and it works locally.

Now I create my war file and deploy it on our webserver.

Is the DLL bundled in the WAR file or do I need to create a directory on the webserver with the DLL in it?

Sorry if this is a basic question, but I can't seem to find an answer.

Thanks! Leslie

Your web project should have a bin folder. You can place your dll there.

只要您具有对DLL的引用,并且已将其复制到Web项目中的bin文件夹中,就可以了。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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