I have a WPF 4 project to interact with word documents made in VS2010 and a win form User Control project to host word application into it. And other com dlls. All com dlls are referred into my main wpf application. I want to publish my project so I can install it on another machine and perform automatic update for it, I get error: “Assembly generation failed — Referenced assembly ‘Interop.Office’ does not have a strong name. “. error for each COM Dll.
A dll refer to (Interop.word.dll, interop.office.dll, interop.VBIDE.dll) and all these dlls are also refer and used into my wpf code.
I found Strong Signed Assemblies link have same question but it does not solve the problem.
I spent a while trawling the internet for this, I believe that the answer you need may be here, for most 3rd party dll’s.
“Adding Strong Name to Interop DLL”
The article describes three ways to add a strong name to a third party assembly. The commands are:
1. Adding a Strong Name via Key Pair
2. Adding a Strong Name via a Certificate in a Certificate Store
3. Adding a Strong Name via a Certificate in a Personal Information Exchange (.pfx) File
Hope it helped