Hi,
I want to know that What benefit do you get from using a Primary Interop Assembly (PIA)?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Apr 12, 2012, 7:08 AM
If you produce your own interop assembly using tlbimp.exe then it will be incompatible with an assembly produced by another developer because the types will not be regarded as being equivalent
This is no longer a problem from .NET 4.0 onwards which now supports type equivalence for linked interop types. So, if two assemblies each link to an interop type, those types are regarded as equivalent provided that they represent the same underlying COM type, no matter how they were generated. This, of course, means that PIAs are no longer needed.
Hemant KumarPosted Apr 12, 2012, 2:05 AM
http://msdn.microsoft.com/en-us/library/aa302338.aspx