문제

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