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 g
Update: Newest version of util is not v7.0 as per:
Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools
SvcUtil.exe v8.0A is now available after installing Visual Studio 2012 (VS 2012)
"C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\SvcUtil.exe"
What you really want is the full definition for turning a WSDL file into a service client:
/n:*,MyCompany.Services.Client /out:IServiceInterface.cs ServiceDefinition.wsdl.xml
Where service definition.wsdl is obviously the ?wsdl response from any old soap endpoint.
Minions and Trolls remember! Everything is now Async so look for and take advantage of the new Async support generated by v8.0 of SVCUtil.exe