title: Issue while generating Class from xsd file using svcutil.exe
body: <p>I am working on <a href="http://www.freddes.se/2010/05/02/sharing-datacontracts-between-wcf-services/" rel="nofollow noreferrer">Sharing DataContracts between WCF Services</a> using the <code>svcutil.exe</code> tool  </p>
  
  <p>I have defined <code>[DataMembar]</code> in library. For sharing data contract I am converting 
  <code>DataContract.dll</code> to <code>DataContract.xsd</code> files.</p>
  
  <p><strong>Command</strong> is </p>
  
  <pre><code>svcutil /dconly &lt;my DataContractDLL path&gt;
  </code></pre>
  
  <p>After generating .xsd, I am generating class file from <code>DataContract.xsd</code> using the command </p>
  
  <pre><code>svcutil /dconly /language:CS DataContract.xsd /out:ClientDataContracts.cs
  </code></pre>
  
  <p>Every thing went fine and worked in above steps.</p>
  
  <p><strong>Issue faced:</strong></p>
  
  <p>I added <code>Dictionary</code>* type in one of the entities of my <code>DataContract.dll</code> library as follows (i.e. I added <code>TimeLogs</code> <code>DataMember</code> of <code>Dictionary</code> type.)</p>
  
  <pre><code>public partial class RecordDto
  {
      /// &lt;summary&gt;
      /// Gets or sets the Comment.
      /// &lt;/summary&gt;
      /// &lt;value&gt;Insurance Company.&lt;/value&gt;
      [WcfSerialization::DataMember(Name = "InsuranceCompany", IsRequired = false, Order = 25)]
      public InsuranceCompanyDto InsuranceCompany { get; set; }
  
      [WcfSerialization::DataMember(Name = "TimeLogs", IsRequired = false, Order = 26)]
      public Dictionary&lt;String, DateTime&gt; TimeLogs
      {
          get;
          set;
      }
  }
  </code></pre>
  
  <p>After adding the <code>Dictionary</code> type I started getting errors while converting <code>.xsd</code> to <code>.cs</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/j4Qhi.png" alt="enter image description here"></p>
  
  <p>After adding <code>Dictionary</code> type why I am getting the error? </p>
  
  <p>How do I resolve it?</p>