Strong name signature not valid for this assembly Microsoft.mshtml.dll
2013-12-24 11:27
579 查看
Strong name signature not valid for this assembly Microsoft.mshtml.dll
http://social.msdn.microsoft.com/Forums/windows/en-US/9b5a07e0-bb1f-4f3d-90fc-40777f1f5800/strong-name-signature-not-valid-for-this-assembly-microsoftmshtmldll?forum=winformssetup
Hi, people.
I believe that I solved the problem, definitively, for "Strong name signature not valid for this assembly Microsoft.mshtml.dll"
When we use a DLL witch is a ordinary Windows file the application, after installed by ClickOnce, try to use the system reference by the DLL, not that one Visual Studio used by build the our program.
Then, to solve that, we must enforce the use of the correct file...
1. Open the “References” folder in Solution Explorer;
2. Click over the DLL name;
3. Look at property windows and certify you are using the correct version of DLL (in case of Microsoft.mshtml.dll, you must use the file in “C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll”), verify it at property Path;
4. Then, attrib the follow properties:
Copy Local = True
Specific Version = True
After this, you are sure that the ClickOnce will install and enforce the use of the DLL that you referenced in your project, avoiding the wrong reference by the default file installed by the windows or the MS Office.
相关文章推荐
- A valid provisioning profile for this executable was not found
- a valid provisioning profile for this executable was not found.
- A valid provisioning profile for this executable was not found.
- xcode 4.2 "XCode could not find a valid private-key/certificate pair for this profile" 解决方案
- “A valid provisioning profile for this executable was not found.”
- Error:The run destination iPhone X is not valid for Running the scheme 'ProjectName'. - iOS
- The security key for this program currently stored on your system does not appear to be valid for th
- OrCAD导入PADS时出现“Not valid pin name for part type XX”错误的原因及解决方法
- A valid provisioning profile for this executable was not found.
- ios - a valid provisioning profile for this executable was not found
- Xcode could not find a valid private certificate/valid key-pair for this profile in your keychain
- A valid provisioning profile for this executable was not found.
- Device Checks for ASM Fails with PRVF-5150: Path ORCL:<diskname> is not a valid path [ID 1210863.1]
- iOS开发中,A valid provisioning profile for this executable was not found.
- 故障解决:Failure adding assembly to the cache: Access denied. You might not have administrative credentials to perform this task. Contact your system administrator for assistance.
- a valid provisioning profile for this executable was not found
- Referenced assembly does not have a strong name
- iOS---A valid provisioning profile for this executable was not found
- A valid provisioning profile for this executable was not found
- 真机调试(A valid provisioning profile for this executable was not found.)