title: svcutil - generating code with specific version
body: <p>I work with some application from others people. Now, time comes to update some services and functionality. I add to my old wsdl file new operation and I want to generate code for my application using svcutil. I am using svcutil from C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools and after type a command:</p>
  
  <p>svcutil.exe /async /tcv:Version35 c:\Dir\temp\wsdlgen\SckBiService.wsdl /o:c:\Dir\temp\wsdlgen\SckBiServiceTemp.cs</p>
  
  <p>I get a file with code generated by tool with runtime version: 4.0.30319.18444
  My old file with code had Runtime Version:4.0.30319.296</p>
  
  <p>The files are different so if I change them errors appear.
  Example:
  New has:</p>
  
  <pre><code>[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  </code></pre>
  
  <p>[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.myname.com/myname2/privatename/", ConfigurationName="SckBi")]
  public interface SckBi
  {</p>
  
  <pre><code>// CODEGEN: Trwa generowanie kontraktu komunikatu, ponieważ operacja „wersja” nie jest ani wywołaniem RPC, ani opakowanym dokumentem.
  [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
  [System.ServiceModel.XmlSerializerFormatAttribute()]
  WersjaResponse wersja(WersjaRequest request);
  </code></pre>
  
  <p>Old has:</p>
  
  <pre><code>    /// &lt;remarks/&gt;
  [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.1")]
  [System.Diagnostics.DebuggerStepThroughAttribute()]
  [System.ComponentModel.DesignerCategoryAttribute("code")]
  [System.Web.Services.WebServiceBindingAttribute(Name="SckBiSoapBinding", Namespace="http://www.myname.com/myname2/privatename/")]
  public partial class SckBiService : System.Web.Services.Protocols.SoapHttpClientProtocol {
  
      private System.Threading.SendOrPostCallback wersjaOperationCompleted;
  
      private System.Threading.SendOrPostCallback weryfikacjaDanychOperationCompleted;
  </code></pre>
  
  <p>Example: In old file I have class SckBiService, in new I have interface SckBi and class SckBiClient. Some fields and operations are different and I do not know if it has some matter in application behaving. </p>
  
  <p>Is any solution to specifies or download old version of svcutil and generate code like old one?</p>
  
  <p>EDIT:</p>
  
  <p>I miss very important information. Old generated code has class SckBiService and inherits from System.Web.Services.Protocols.SoapHttpClientProtocol. The new file does not use this class. Can I force svcutil.exe to do such a thing?  </p>
  
  <p>EDIT2:</p>
  
  <p>After some researches I discover that older version of svcutil uses asmx client infrastructure  (System.Web.Services.Protocols.SoapHttpClientProtocol and friends) and the latter uses the WCF client infrastructure (System.ServiceModel.ClientBase and friends).
  Still question is: how to generate with old version (asmx client infrastructure)? </p>