[英]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.