Why would you need to run regasm and caspol on a .net component more than once?

Posted by Craig Johnston on Stack Overflow See other posts from Stack Overflow or by Craig Johnston
Published on 2010-05-31T14:55:54Z Indexed on 2010/05/31 15:13 UTC
Read the original article Hit count: 393

Filed under:
|
|
|

Why would you need to run regasm and caspol on a .NET component more than once?

I have a COM client that uses a .NET component residing on another machine. Consequently I need to run regasm and caspol on this .NET component. What could cause there to be the need to do this again on the same machine to the same component?

Is the effect of regasm and caspol only temporary? Or can I assume that someone has reset or cleared something on a machine if I am having to do this again?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about com-interop