开发者

C# dll beginner - where does it go?

开发者 https://www.devze.com 2023-02-16 01:39 出处:网络
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.

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 a开发者_StackOverflow中文版nswer.

Thanks! Leslie


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


As long as you have a reference to your DLL and also have copied it to your bin folder in your web project you should be fine.

0

精彩评论

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