Register .NET as COM


Author: Dave
Date: 01.06.17 - 7:07am



There are some nuances to this, I am mirroring this article so I never lose it..local copy

https://blogs.msdn.microsoft.com/jigarme/2008/04/28/how-to-register-net-assembly-for-com-interop/

in particular the /codebase flag is important. You can only install a dll to GAC if its strong named and .net wont be able to find it if its not unless you use the codebase flag.

I had to manually figure out the missing keys by comparing the registry of a machine i compiled the dll on vrs just using regasm yuk..easy to find once you know the problem. Hindsight is 20/20..

Also make sure to pay attention to the 32 bit and 64 bit thing..




Comments: (0)

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 41 + 79 = ? followed by the letter: V 



About Me
More Blogs
Main Site
Posts: (All)
2020 ( 2 )
2019 ( 5 )
2018 ( 6 )
2017 (6)
     Python and VB6
     Python pros and cons
     download web Dir
     vc rand in python
     VB6 Language Enhancement
     Register .NET as COM
2016 ( 22 )
2015 ( 16 )
2014 ( 25 )
2013 ( 4 )
2012 ( 10 )
2011 ( 7 )
2010 ( 11 )
2009 ( 3 )