Is it possible to compile c# dll in a way that it can be imported in different programming languages or does it work only with visual studio projects?
The [ComVisible] attribute allows C# code to be used in practically any language that can run on Windows. COM support in a language runtime was pretty mandatory to give a language a chance to be adopted on Windows. You'd of course use whatever tooling is available for the language, it doesn't require VS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With