title: How does Locbaml work?
body: <p>I created a WPF test project, single Window with a single button in it. I then unloaded the project and modified the csproj to contain the following <code>&lt;UICulture&gt;en-US&lt;/UICulture&gt;</code>. After rebuilding the build folder now contains a subfolder named en-US and it contains a file called WpfLocalizationTest.resources.dll. All clear so far. </p>
  
  <p>Then I downloaded the source code for Locbaml and built it. (Couldn't find a binary download anywhere, go figure.)</p>
  
  <p>Then I copied the Locbaml.exe to the en-US folder and tried the following.</p>
  
  <pre><code>locbaml /parse WpfLocalizationTest.resources.dll /out:test.csv
  </code></pre>
  
  <p>This results in an error 'Could not load file or assembly WpfLocalizationTest.resources.dll or one of its dependencies. An attempt was made to load a program with an incorrect format.'</p>
  
  <p>In the obj\x86\Debug folder there's a file called WpfLocalizationTest.g.en-US.resources. I tried running locbaml on that, but the result was the same.</p>
  
  <p>How is locbaml supposed to be used? MSDN is full of cockamamie samples, none of which work. Is locbaml really how Microsoft intends WPF apps to be localized? Or have they come up with proper tools for the job?</p>