Svcutil.exe is used to generate the WCF proxies. In VS 2008 Beta 2, if you create simple WCF application and try to generate proxy of your service, you may encounter the error that states
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl
y ‘svcutil, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ o
r one of its dependencies. Strong name validation failed. (Exception from HRESUL
File name: ‘svcutil, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11
d50a3a’ —> System.Security.SecurityException: Strong name validation failed. (
Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
The problem is that SVCutil.exe is not been verified as a strong Name and one needs to do this in order to rectify the issues
1. Open Command Prompt
2. Go to C:\Program Files\Microsoft SDKs\Windows\V6.0A\Bin folder
This is the folder where by default, all the utilities provided by .NET 3.5 is placed.
3. run sn -Vr svcutil.exe
it will respond as verification entry has been added for the assembly svcutil.
This is a generic problem and might can occur to other utilities. All you need to do is to put your utility name in place of svcutil.exe in the above and You are Done !!! I am sure this will be resolve in the next beta of VS 2008