更新时间:2022-11-03 15:39:42
为了使用 VSTO,您必须安装 Office.VSTO PIA 仅在 .NET 和 Office 公开的 COM 接口之间提供了一个垫片.因此,PIA 无法在没有 Office 的情况下做任何事情.
In order to use VSTO you must have Office Installed. The VSTO PIA's only provide a shim between .NET and the COM interfaces that Office exposes. So the PIA's can do nothing w/o Office.