适用于多个vsto版本的单个插件 [英] Single addin for multiple vsto version

查看:146
本文介绍了适用于多个vsto版本的单个插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用office 2003 addin ..它在Office 2007中运行良好,使用VSTO 3.0 Runtime SP1 ..但是当我尝试运行相同的插件时办公室2010年机器与VSTO 4.0(10.0)它进入非活动列表?但是,当我在办公室
2010机器上安装VSTO 2005 SE时,同样的插件就可以正常工作。对于它的任何解决方法都将受到赞赏..

I am working on office 2003 addin..It works well in office 2007 with VSTO 3.0 Runtime SP1..but when I try to run same addin on office 2010 machine with VSTO 4.0(10.0) it goes in inactive list? But same addin works as soon as I install VSTO 2005 SE on office 2010 machine..Any workaround for it will be appreciated..

我在考虑重定向办公室之类的东西和VSTO常见程序集不确定它是否有效..请帮助..

I was thinking of something like redirecting office and VSTO common assemblies not sure if it works..Please help..

谢谢,

Alkingson

Alkingson

推荐答案

您好Alkingson

Hi Alkingson

关键是要确保VSTO运行时的正确版本并且.NET Framework安装在目标计算机上。您将始终需要相同版本的运行时。

The key will be to make sure that the correct versions of the VSTO runtime and the .NET Framework are installed on the target machine. You'll always need the same version of the runtime.

本文固定在VSTO论坛的顶部,将向您展示.NET Framework和VSTO运行时的版本。适用于使用特定版本的Office创建的Office版本:

http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/1666d2b0-a4d0-41e8-ad86-5eab3542de1e

This article, pinned at the top of the VSTO forum, will show you what versions of the .NET Framework and the VSTO runtime are applicable for an Office version created with a particular version of Office:
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/1666d2b0-a4d0-41e8-ad86-5eab3542de1e

 


这篇关于适用于多个vsto版本的单个插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆