title: C# The type 'XXXX' cannot be resolved
body: <p>I've included a custom validator and included the refrence to the DLL. But I'm getting error below:</p>
  
  <pre><code>Warning: System.ArgumentException: The type 'Custom.Validator, CustomValidators, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' 
  cannot be resolved. Please verify the spelling is correct or that the full type name is provided.
  </code></pre>
  
  <p>I've got a custom.Validator class which is used for custom validation in Enterprise Library.</p>
  
  <p>The following code results the above error:</p>
  
  <blockquote>
    <p>var results=results = Validation.Validate(msg);</p>
  </blockquote>
  
  <p>Could someone please tell me how to fix this error message.</p>
  
  <p>Thank you</p>