sowelu 1 Posted October 14, 2017 Share Posted October 14, 2017 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 https://wrobot.eu/forums/topic/7373-add-custom-dll/ Share on other sites More sharing options...
sowelu 1 Posted October 14, 2017 Author Share Posted October 14, 2017 Bum, dont leave me guys Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33604 Share on other sites More sharing options...
BetterSister 367 Posted October 14, 2017 Share Posted October 14, 2017 it may take up to 24 hours before someone who can help you sees this topic. I can't help with this Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33613 Share on other sites More sharing options...
Droidz 2738 Posted October 15, 2017 Share Posted October 15, 2017 Hello, why do you use namespace Wmod? Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33626 Share on other sites More sharing options...
sowelu 1 Posted October 15, 2017 Author Share Posted October 15, 2017 3 hours ago, Droidz said: Hello, why do you use namespace Wmod? Just for test. namespace Wmod { public class Xhelpers { public int ss = 10; } } Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33644 Share on other sites More sharing options...
sowelu 1 Posted October 15, 2017 Author Share Posted October 15, 2017 Maybe I dont understand something important. I just want to use my own classes in plugin. Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33651 Share on other sites More sharing options...
Droidz 2738 Posted October 15, 2017 Share Posted October 15, 2017 please share all code (or sample code with this problem) Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33669 Share on other sites More sharing options...
sowelu 1 Posted October 15, 2017 Author Share Posted October 15, 2017 1 hour ago, Droidz said: please share all code (or sample code with this problem) http://rgho.st/6Pch4qZ4R Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33675 Share on other sites More sharing options...
sowelu 1 Posted October 17, 2017 Author Share Posted October 17, 2017 Bump, any idea how to solve it? Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33769 Share on other sites More sharing options...
Droidz 2738 Posted October 17, 2017 Share Posted October 17, 2017 Do you have put Wmod dll in same folder than your plugin dll sowelu 1 Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33776 Share on other sites More sharing options...
Avvi 98 Posted October 17, 2017 Share Posted October 17, 2017 6 hours ago, Droidz said: Do you have put Wmod dll in same folder than your plugin dll I think the Wmod dll should be in the wRobot/bin folder, right? Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33790 Share on other sites More sharing options...
sowelu 1 Posted October 17, 2017 Author Share Posted October 17, 2017 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. Avvi 1 Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33792 Share on other sites More sharing options...
Avvi 98 Posted October 17, 2017 Share Posted October 17, 2017 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 sowelu 1 Link to comment https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33800 Share on other sites More sharing options...
sowelu 1 Posted October 18, 2017 Author Share Posted October 18, 2017 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 https://wrobot.eu/forums/topic/7373-add-custom-dll/#findComment-33819 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now