Could not load file or assembly 'Microsoft.mshtml … Strong name validation failed

前端 未结 4 580
时光取名叫无心
时光取名叫无心 2020-12-05 14:26

I made a WPF/C# program and I am using the internet control for WYSIWYG HTML editing.

it is a regular Executable program.

it works on most computers however

4条回答
  •  既然无缘
    2020-12-05 15:21

    I had this same problem too but my issue was using TFS Build 2008. The hintpath was relative and had to be changed to the exact path. Otherwise during the build it kept picking up the Office mshtml.dll

    ..\..\..\..\..\..\..\..\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll

    C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll
    

提交回复
热议问题