Problem:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'svcutil, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
File name: 'svcutil, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
MyComputer

 

Solution:

2.3.7.8 由于签名问题,运行某些基于 WCF 的项目模板将导致与 svcutil.exe 崩溃

运行某些基于 WCF 的项目模板,将启动 WCF 服务主机中的服务并打开测试窗体以便对该服务执行调试操作。由于签名问题,这将导致 svcutil.exe 崩溃,而且测试窗体将无法工作。

解决此问题的方法:

通过打开“Visual Studio 命令提示”来禁用 svcutil.exe 的强名称签名。在命令提示符处运行:sn -Vr "<程序文件>\Microsoft SDKs\Windows\v6.0A\Bin\SvcUtil.exe"(将 <程序文件> 替换为程序文件路径 - ex: c:\Program Files)

[WCF]由于签名问题,运行某些基于 WCF 的项目模板将导致与 svcutil.exe 崩溃

[WCF]由于签名问题,运行某些基于 WCF 的项目模板将导致与 svcutil.exe 崩溃

More Information about Windows Visual Studio 2008 beta2 please lookup:

http://download.microsoft.com/download/5/2/6/52681ab9-da31-46bd-aef7-e2cb928f48ca/VSReadme.htm

相关文章:

  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2022-01-10
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2021-11-20
  • 2021-04-05
  • 2021-12-18
  • 2022-12-23
  • 2021-06-03
  • 2021-05-15
相关资源
相似解决方案