Registraton of the COM Class and Interfaces RRS feed

  • Question

  • I'm trying making registration of the COM Class and Interfaces referring here.

    My question is regarding pointing key pair file in the AssemblyInfo.cs.

    After point key pair file in the AssemblyInfo.cs(Step13) and before add assembly to the GAC using gacutil(Step14), Shouldn't I compile project? (There's no comment regarding compile between Step13 and Step14)

    Can anybody give me some advice regarding this?

    Thanks in advance.

    Tuesday, December 18, 2018 3:30 PM

All replies

  • The article you mention is way too old. Exposing a .NET object to COM doesn't require strongly naming or the GAC. Refer to the current instructions found in MSDN. You would only worry about the GAC if you need to strongly name an assembly, not a requirement of COM.

    Michael Taylor

    Tuesday, December 18, 2018 9:21 PM