I already developed a large Office application-level add-in and it works like a charm, but I have problems understanding the technical basis.
VSTO is the application runtime that provides hooks (solution loader) into the Office subsystem via PIA. PIAs are wrappers around the unmanaged COM API (IDTExtensibility2
) that Office is built from. PIAs provide managed access and run above the VSTO runtime.
VSTO comes with project types that build the deployment manifest required for detecting dependencies and loading your Add-In at runtime.
The PIAs provide managed access to the COM object-model, but it also supports unmanaged access should you want more control over how your solution is loaded (hence you always have VSTO runtime, but not always PIAs).
This MSDN link provides a great overview of the evolution of PIAs and VSTO away from IDtExtensibility2
which is another loading option (outside of PIAs)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With