title: Is there an easy way to compare two files and error out if they are not identical?
body: <p>As part of our Continuous Integration builds, I'd like the build to fail if a Visual Studio solution is using two different versions of the same dll.  We are using Jenkins for CI and MSBuild.exe to build our product.</p>
  
  <p>I know that this can be accomplished via C# code, but I'm trying to avoid that.  I'd prefer to use something built into MSBuild or MSBuild Community Tasks or a built in command line executable like FC.exe.  I've looked at FC.exe and it outputs text that says</p>
  
  <pre><code>FC: no differences encountered
  </code></pre>
  
  <p>and I suppose I can direct the output to a file and then parse that file, but that seems hacky at best.</p>
  
  <p>Is there an elegant way to do this?</p>