Svcutil.exe for .Net 4.0?

Posted by D.H. on Stack Overflow See other posts from Stack Overflow or by D.H.
Published on 2010-04-22T13:03:07Z Indexed on 2010/04/22 13:03 UTC
Read the original article Hit count: 964

Filed under:
|
|
|

I was trying to use svcutil.exe to generate proxy classes for a service but when I use the /reference option to reference an assembly that is built for .Net 4.0 I get an error.

Could not load file or assembly [...] or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

So it seems that I am using an old version of svcutil.exe. I am using the one in "C:\Program Files\Microsoft SDKs\Windows\v7.0A which was the latest one I could find. Is there a later version somewhere that I am supposed to use?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wcf