hi,
Please tell me what is Primary Interop Assembly (PIA)?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 31, 2011, 8:57 AM EDT
Dipal ChoksiRank #199 · 12K reputationPosted Oct 31, 2011, 9:33 AM EDT
"Like any other managed assembly, an interop assembly is a collection of types that are deployed, versioned, and configured as a single unit. However, unlike other managed assemblies, an interop assembly contains type definitions (not implementation) of types that have already been defined in COM. These type definitions allow managed applications to bind to the COM types at compile time and provide information to the common language runtime about how the types should be marshaled at run time. "
A PIA is typically a "wrapper dll" which exposes functions in a non-managed dll, allowing your managed application (.net application) to access functionality within the non-managed dll.
VulpesRank #55 · 29.2K reputationPosted Oct 31, 2011, 9:54 AM EDT