svcutil.exe in Orcas Beta 2 problem
Software Development September 28th, 2007
Posted also at: Maor David – The Blog.
When I trying to run WCF test service on VS 2008 beta 2 I got an error:
|
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: 0×8013141A) File name: ’svcutil, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ —> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0×8013141A) |
It turns out that this is a known issue in Beta2. Svcutil.exe is not signed correctly.
I found a solution for this issue at WCF MSDN forum: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1932994&SiteID=1&pageid=0
The solution is:
1. Open the VS 2008 Beta 2 command prompt as Administrator (important especially in Vista).
2. Browse to the bin directory of the windows SDK ([C]:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin)
3. Type: sn –Vr svcutil.exe.
By the way, sn -Vr will not sign it but rather tell .NET to skip signature verification for that assembly.
Similar Posts:
- Restrict Users To Open WorkItem
- Silverlight 3 Beta
- Silverlight 4, Office/Sharepoint 2010 Beta Announced at PDC 09
- Microsoft Web Platform Installer 1.0 Released
- Windows Azure Drive Beta Released
Tags: WCF
About




http://blogs.microsoft.co.il/blogs/maordavid/archive/2007/09/28/svcutil-exe-in-orcas-beta-2-problem.aspx
This comment originally written by:
When I trying to run WCF test service on VS 2008 beta 2 I got an error: 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
This comment originally written by:Guy Burstein
A video that displays this problem and the solution can be cound at blogs.microsoft.co.il/…/WCF-Test-Client-svcutil.aspx