在Win 10上运行VSTO 2005 [英] Running VSTO 2005 on Win 10

查看:185
本文介绍了在Win 10上运行VSTO 2005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基于VSTO的excel应用程序
(.Net 2.0 + VSTO 2005 + VS 2005)  
目前正在Win 7 OS(Office 2010)中使用, 但我们的企业正在向Win 10(2016年办公室)迁移 操作系统,所以我们采用了部署软件包并安装在Win 10 VDI和
上,完全正常。

I have an existing VSTO based excel application (.Net 2.0 + VSTO 2005 + VS 2005)  that is currently being used in Win 7 OS (Office 2010),  but our enterprise is migrating towards Win 10 (office 2016)  OS, so we took the deployment package and installed on a Win 10 VDI and things worked perfectly fine.

< g class =" gr_ gr_381 gr-alert gr_gramm gr_inline_cards gr_run_anim标点符号仅用于替换"不用于"数据-GR-ID =" 381" ID = QUOT; 381">然而< / g取代;当我们将包裹部署到"物理"部分时赢得10台笔记本电脑
它无法工作,我们收到的错误是"无法找到或无法加载自定义程序集"。你仍然可以编辑和保存文件"。

<g class="gr_ gr_381 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" data-gr-id="381" id="381">However</g> when we deployed the package to a "physical" Win 10 Laptop it is not working and we are getting the error as "the customization assembly could not be found or could not be loaded. you can still edit and save the document".

注意:

申请正在进行中重新构建到新技术,但同时(可能再过6个月) 我必须继续使用VSTO + .Net 2.0(即使它已过期) 

The application is in process of being re-architected to newer technology but meantime (probably for another 6 months)  I have to continue using VSTO+.Net 2.0 (even though it's expired) 

Raghu

推荐答案

Hello Raghu,

Hello Raghu,

首先,确保为加载项安装所有必需的先决条件 - 对应的vsto和.net运行时部署的加载项,其他第三方依赖项(如果有的话)等等。然后我建议检查安装程序中包含的所有文件应该是
。它们是否正确部署到目标计算机并且可以找到?

First of all, make sure that you install all the required prerequisites for your add-in - vsto and .net runtime that correspond to your add-in deployed, other third-party dependencies if any and etc. Then I'd suggest checking for all files that should be included to the installer. Are they deployed to the target machine correctly and can be found?

此外,出现此类错误的原因是缺少加载VSTO解决方案的权限。经常被"错过"的一件事在部署2007年或2010年的VSTO解决方案时,该文档必须位于"受信任的
位置"。您可能希望通过查看Word"信任中心"来检查是否属于这种情况。 (在选项中)。见&NBSP;

解决Office解决方案中的运行时错误
欲获得更多信息。

Also the reason behind such an error is that the permissions for loading the VSTO solution are missing. One thing that often gets "missed" when deploying VSTO solutions for 2007 or 2010 is that the document must be in a "trusted location". You might want to check that this is the case by looking in the Word "Trust Center" (in the Options). See  Troubleshooting Run Time Errors in Office Solutions for more information.


这篇关于在Win 10上运行VSTO 2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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