gpt4 book ai didi

.net - 为 Outlook 2010 加载项创 build 置

转载 作者:行者123 更新时间:2023-12-05 00:04:57 27 4
gpt4 key购买 nike

我创建了一个 Outlook 加载项,需要创建一个设置以使其可分发(我是新手,所以请原谅新手评论)

Outlook -2010
Vs -2010
.Net 4.0

我读了一些地方,最简单的方法就是发布。是的,就是这么简单。设置已创建,我可以安装。
问题在于,在没有 .net 4.0(或者可能是 VS 2010)的系统中,安装程序在重新启动系统(完整安装 4.0)时首先开始安装框架(这很好.. :))。
当用户尝试安装安装程序时,它会给出错误提示:

the following solution cannnot be loaded because Microsoft Office support for the .Net framework 4.0 is not installed



用户机器最初有 Outlook 2010 和框架 3.5。我检查并安装了 4.0 客户端(大约 33 MB)。

最佳答案

我最近遇到了同样的问题,必须在安装加载项之前在客户端工作站上安装 Visual Studio 2010 Tools for Office Runtime。安装后,我无需重新启动即可立即安装我的加载项。

根据 VSTO 团队的这篇[帖子][3]:

Note that in the Beta and RTM releases of Office 2010 you will NOT get Office 4.0 Runtime Extensions (or the capability for them to be “turned on”). If you are deploying customizations that target .Net Framework 4 and they will run on Office 2010 you will need your users to install the VSTO 2010 Runtime redistributable (and of course before their customization will run they will have to install .Net Framework 4).

关于.net - 为 Outlook 2010 加载项创 build 置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5119569/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com