Jump to content

Recommended Posts

Hey, i have built dll (with test class),target framework .Net 4. How can I use it from plugin? 

using Wmod;   => The type or namespace name 'Wmod' could not be found (are you missing a using directive or an assembly reference?)

 

 

Link to comment
Share on other sites

 

8 hours ago, Droidz said:

Do you have put Wmod dll in same folder than your plugin dll

Yes, I have put to /wrobot /bin and /plugins, nothing, but also, all my plugins have .cs extension, not .dll

 

UPD I have put Xtest.dll, (not .cs) to /plugins and it seems fine! And sorry for my stupid questions.

 

Link to comment
Share on other sites

1 hour ago, sowelu said:

 

Yes, I have put to /wrobot /bin and /plugins, nothing, but also, all my plugins have .cs extension, not .dll

 

UPD I have put Xtest.dll, (not .cs) to /plugins and it seems fine! And sorry for my stupid questions.

 

Not stupid questions! Thanks for updating us with how you resolved the issue :D

Link to comment
Share on other sites

I still have a problem with understanding how to properly use . If I have one project and I build  plugin.dll , all fine. But if I build one dll (simplyTestLib.dll)) and then creating another project  (simplyPlugin.dll) which uses simplyTestLib.dll and I build  it,  I have error. I cant use simplyPlugin.dll, because when I starting bot with this plugin it crashes. Debugger says assembly simplyTestLib.dll cant be loaded. My main question is how to setup environment to developing a bunch of simply plugins, or maybe not simply. I think I should create library with useful classes and use this  from Plugin.dll, like I use wManager. But I cant due error. Maybe is there another way or am I missing something important point. I have experienced only with Unity3d so some basic things could be missed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...