Assembly generation failed — Referenced assembly 'Interop.Office' does not have a strong name

后端 未结 3 886
一向
一向 2021-01-05 07:48

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

3条回答
  •  太阳男子
    2021-01-05 08:51

    This comment should be an answer:

    Actually, the "strong name" problem only STARTS if you decide to sign your assembly, since then it'll require all referenced dlls to be strong-name signed too

    If you dont want to sign the assembly and wish to overcome this compilation error. Choose NOT to sign the assembly you are trying to build. Subsequently all the projects references wont require signing either.

提交回复
热议问题