I have created an office addin for Word 2010 targeting .net 4 and this should apparently work in office 2007.

I have created the installer per this article with the exception that I include a dll in the dependencies rather than in the bootstrapper for the prerequisites.

The installer installs the vsto and the registry keys in

HKCU\Software\Microsoft\Office\Excel\Addins\ProjectName

The pc also has .Net 4 and the Office 2007 Primary interop assemblies.

The addin doesn't appear in Word 2007, any ideas where I could be going wrong?

UPDATE: You have to sign your addin, this was pretty obvious! Office now recognises the addin but its gets a runtime error that I can't debug. Tried to debug with these steps with no luck!

有帮助吗?

解决方案

Had to build for correct CPU version of office, in my case 32bit, Any CPU didn't work!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top