How to mark COM Visible for auto generated c-sharp class?

James J 586 Reputation points

I am in process of adding webView browser control to launch the Javascript. Javascript makes SOAP call through C# interop class. But, the wsdl associated c# reference file is auto generated. To communicate JS and Webview the c# class should be COM visible. The question here is, How I can mark COM visible for auto generated C# class?


An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,500 questions
{count} votes