Fixing SVCUTIL.EXE for Orcas Beta 2

Microsoft apparently didn’t resign all the tools in the SDK supplied with Beta 2 of Visual Studio 2008.  This is actually documented in the readme that UISpy has this issue, which of course, I didn’t read..

 

SVCUtil.exe also has this problem and it causes any proxy-generation from VS.NET 2008 to fail (as well as killing the client tester process which is spawned for WCF testing).  You’ll know you’ve hit this error when the program crashes with a “System.IO.FileException” and indicates that it has failed strong-name validation.

 

It’s easy enough to fix ..

 

1) Open a command prompt with full admin rights

2) CD to the C:Program FilesMicrosoft SDKsWindowsV6.0abin directory

3) execute “SN -Vr svcutil.exe”

 

This turns off strong-name validation for svcutil.exe.

 

About Mark Smith

Windows systems developer with low-level operating system, threading and .NET experience. For the past several years I have been involved with WPF/Silverlight and most recently iOS and Android. I have worked as an architect and designer for several companies and am particularly interested in client/server and graphical solutions. Specialties:.NET, WPF, Silverlight, Windows, iOS

Latest Blog Posts

Building Windows Store apps with HTML/JS and WinJS

Thanks to everyone who attended the WinJS marathon! Here's the slides and demos we … Read More »

NumericTextBoxBehavior for XAML-based Windows Store Applications

One of the first (and arguably most useful) behaviors that I wrote for MVVMHelpers was a … Read More »