简体   繁体   English

vsto先决条件我怎么知道我需要什么?

[英]vsto prerequisites how do I know which I need?

I just created a VSTO Add-In for Office 2010. How how do I know which pre-requisites I need and whether or not my add-in would work for both 2010 and 2007 or just 2010? 我刚刚为Office 2010创建了VSTO加载项。我如何知道我需要哪些先决条件,以及我的加载项是否适用于2010和2007或仅适用于2010? I'm confused why this seems obvious based on the lack of documentation on this topic. 我感到困惑,为什么由于缺少有关此主题的文档,这种情况似乎很明显。 During compilation it tells you if there is a problem if you're building for instance on .NET Client profile instead of the full .NET but for all the other prerequisites I don't know how to tell. 在编译过程中,它会告诉您是否在例如.NET客户端配置文件(而不是完整的.NET)上进行构建时遇到问题,但是对于所有其他先决条件,我不知道如何讲。 Do I need for instance the Visual Studio for Office 2010 Runtime and the Interlop Assemblies? 例如,我是否需要Visual Studio for Office 2010运行时和Interlop程序集?

This might be of interest: https://stackoverflow.com/a/4411365/1373170 and https://stackoverflow.com/a/1596868/1373170 这可能很有趣: https : //stackoverflow.com/a/4411365/1373170https://stackoverflow.com/a/1596868/1373170

If you are on .NET 4, you don't need to ship PIA anymore, if you use embedded interop assemblies. 如果您使用的是.NET 4,则如果使用嵌入式互操作程序集,则不再需要发送PIA。

The VSTO Runtime would still be required I believe. 我相信仍然需要VSTO Runtime。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM