title: Conditional logic in a pre-build event in Visual Studio returning a 255
body: <p>I've been narrowing down an error I'm getting trying to do a file copy in a pre-build event in Visual Studio. The error is "exited with code 255" which doesn't help me figure out why this syntax is not working:</p>
  
  <pre><code>if  '$(PlatformName)' == 'x86' 
    copy C:\work\test\libnria.dll c:\work
  </code></pre>
  
  <p>Does anyone see anything wrong with this? The copy command I've stripped down to a hard-coded example.</p>