Wednesday, December 5, 2007

Problem with svcutil.exe while using Visual Studio Beta 2

Running some WCF-based project templates results in a crash of svcutil.exe crashing due to a signing issue

Running some WCF-based project templates starts the service in WCF Service Host and opens a test form to debug operations on the service. Because of a signing problem, this results in a crash of svcutil.exe and the test form does not work.

To resolve this issue:

Disable strong name signing for svcutil.exe by opening a Visual Studio Command Prompt. At the command prompt run: sn -Vr "\Microsoft SDKs\Windows\v6.0A\Bin\SvcUtil.exe" (replace with your program files path - ex: c:\Program Files)

No comments: