Your C# assembly needs the ComVisible attribute (among a few other things).
[assembly: ComVisible(true)]
There’s a guide to doing this here.
More Related Contents:
- Why .NET String is immutable? [duplicate]
- Can attributes be added dynamically in C#?
- Detect if deserialized object is missing a field with the JsonConvert class in Json.NET
- Detect if running as Administrator with or without elevated privileges?
- What is the best way to check for Internet connectivity using .NET?
- Kill child process when parent process is killed
- Read SQL Table into C# DataTable
- How to get an HtmlElement value inside Frames/IFrames?
- How can I protect my .NET assemblies from decompilation?
- Retrieve current URL from C# windows forms application
- Icecast 2: protocol description, streaming to it using C#
- How can I print the contents of an array horizontally?
- Regex that matches a newline (\n) in C#
- How do I marshal a struct that contains a variable-sized array to C#?
- What is the correct way to compare char ignoring case?
- How can I write a unit test to determine whether an object can be garbage collected?
- How can I generate UUID in C#
- How to detect mouse clicks?
- Moq – Non-overridable members may not be used in setup / verification expressions
- Will a future version of .NET support tuples in C#?
- ASP.net Getting the error “Access to the path is denied.” while trying to upload files to my Windows Server 2008 R2 Web server
- Why is my bound DataGridView throwing an “Operation not valid because it results in a reentrant call to the SetCurrentCellAddressCore function” error?
- How to check if the system audio is muted?
- How do I keep aspect ratio on scalable, scrollable content in WPF?
- How to produce “human readable” strings to represent a TimeSpan
- Why is it possible to instantiate a struct without the new keyword?
- Run shell commands using C# and get the info into string [duplicate]
- ConcurrentDictionary GetOrAdd async
- Large Object Heap Compaction, when is it good?
- Multithreaded NamePipeServer in C#