title: WCF service doesn't accept new member to the enum
body: <p>I've got a wcf service which looked something like this:</p>
  
  <pre><code>[DataContract]
  enum MyEnum
  {
      [EnumMember]Member1,
      [EnumMember]Member2,        
      [EnumMember]Member3
  }
  
  
  [ServiceContract]
  interface IMyService
  {
      [OperationContract]
      string SolveBotguard(
          SolutionType myEnum);
  }
  </code></pre>
  
  <p>The service worked fine, and I've created a working client with a mex endpoint that it exposed.</p>
  
  <p>Now I added a new member to the enum:</p>
  
  <pre><code>[DataContract]
  enum MyEnum
  {
      [EnumMember]Member1,
      [EnumMember]Member2,        
      [EnumMember]Member4,  
      [EnumMember]Member3
  }
  </code></pre>
  
  <p>And again, updated the client through MEX endpoint. But now, when I'm trying to call the service with the new enum member as param, I'm getting following error:</p>
  
  <pre><code>The formatter threw an exception while trying to deserialize the message: There 
  was an error while trying to deserialize parameter http://tempuri.org/:myEnum. 
  The InnerException message was 'Invalid enum value 'Member4' cannot be 
  deserialized into type 'MyEnum'. Ensure that the necessary enum values are  
  present and are marked with EnumMemberAttribute attribute if the type has
  DataContractAttribute attribute.'.  Please see InnerException for more details.
  </code></pre>
  
  <p>I've tried deleting client and service files and re-building them from the source, with no effect.</p>
  
  <p>How do I get rid of this exception?</p>