简体   繁体   English

无法调试Word加载项项目,未安装所需的Microsoft Office版本

[英]Unable to debug Word addin project, required version of Microsoft Office is not Installed

My Colleague wanted me to work on a solutions on Team Foundation Server. 我的同事希望我在Team Foundation Server上开发解决方案。 When i connected i noticed that some of the projects would not load. 当我连接时,我注意到某些项目将无法加载。 From what we ascertained or theorized this could be due to conflicts with the version office, word or the various connected drivers or assemblies. 从我们确定​​或推论的结果来看,这可能是由于与版本办公室,单词或各种连接的驱动程序或程序集发生冲突。 So as a experiment i opened a new add in project in my vs 2012. It would build but i when tried to execute i got the above error. 因此,作为一个实验,我在vs 2012中打开了一个新的添加项目。它会生成,但是当我尝试执行时,出现了以上错误。 Ironically when i opened my word the add in was actually there but i cannot debug it? 具有讽刺意味的是,当我打开单词时,实际上已添加了附件,但是我无法调试它? Office 2013 installed. 已安装Office 2013。 I did install office 2007 assemblies, made no difference so i removed them. 我确实安装了Office 2007程序集,没有区别,所以我将其删除。

您可以尝试使用这种方法在某个进程启动时自动启动调试器-http: //msdn.microsoft.com/zh-cn/library/a329t4ed(v=vs.71).aspx

When i created my project only the 2010 office templates were available but i only had the office 2013 installed. 创建项目时,仅提供2010 Office模板,但仅安装Office 2013。 I needed to install the assemblies to allow the creation of add-in projects using 2013 office templates. 我需要安装程序集,以允许使用2013 Office模板创建外接程序项目。 I got the necessary download from Microsoft after direction on the VTSO forums. 在VTSO论坛上获得指导后,我从Microsoft获得了必要的下载。

暂无
暂无

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

相关问题 如何在vs2010中为64位版本的办公室开发Microsoft office word addin - How to develop Microsoft office word addin for 64bit version office in vs2010 Microsoft.Office.Interop.Word:安装多个版本的Word时定义的默认版本在哪里? - Microsoft.Office.Interop.Word: where is the default version defined when multiple versions of Word are installed? 以任何方式在Microsoft Office Word中的功能区空间内显示插件 - Any way to display addin inside the ribbon space in Microsoft Office Word 无法在Microsoft.Office.Interop.Word(Word 2016)中投射COM - Unable to cast COM in Microsoft.Office.Interop.Word (Word 2016) 获取Office插件发布版本 - Get Office Addin Publish Version 查找在Visual Studio运行时在系统上安装的Microsoft Office版本 - Finding version of Microsoft Office installed on system at runtime in Visual Studio 如何通过无缝身份验证从 microsoft word 2013 插件在 office 365 sharepoint 2013 站点中保存文档? - How to save document in office 365 sharepoint 2013 site from microsoft word 2013 addin with seamless authentication? Microsoft.Office.Interop.Word程序集版本高于引用 - The Microsoft.Office.Interop.Word assembly version is higher than referenced 如何使用已安装的Office版本在WinForms应用程序中查看Microsoft Office文档? - How can I view Microsoft Office documents in a WinForms application using the installed version of Office? Web浏览器中的Microsoft Office Word - Microsoft Office Word in a web browser
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM