title: Can I force svcutil.exe to generate data contracts for a WCF service?
body: <p>I would like to force <code>svcutil</code> to generate all data contracts in an assembly that is used by WCF, regardless of whether or not a type is referenced by a given operation contract.</p>
  
  <pre><code>[DataContract]
  public class Foo { }
  
  [DataContract]
  public class Bar : Foo { }
  
  [ServiceContract]
  public interface IService
  {
      [OperationContract]
      void Get(Foo foo);
  }
  </code></pre>
  
  <p>Given this setup I cannot get <code>svcutil</code> to generate a version of <code>Bar</code> as there are no operation contracts that currently reference it.  Is there a way to force <code>svcutil</code> to generate the data contract for <code>Bar</code>?</p>