简体   繁体   中英

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. 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. Ironically when i opened my word the add in was actually there but i cannot debug it? Office 2013 installed. I did install office 2007 assemblies, made no difference so i removed them.

您可以尝试使用这种方法在某个进程启动时自动启动调试器-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. I needed to install the assemblies to allow the creation of add-in projects using 2013 office templates. I got the necessary download from Microsoft after direction on the VTSO forums.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM