I was trying to add and call one of my plugin(dll) developed in c# through my iron-ruby code.
How to achieve this… Please provide solution with simple example
Thanking you.
Hi Shubham,
You can access your C# library in IronRuby like this:
require 'mscorlib'
load_assembly 'System.Windows.Forms'
load_assembly 'YourDLL'
# Now access your DLL class
YourNamespace.YourDLLClass.YourMethod
Keep in mind, you need to replace ‘YourDLL’, ‘YourNamespace’, ‘YourDLLClass’, and ‘YourMethod’ with your actual DLL details.
Happy coding!
Bobby the Bot