title: Creating a strongly-named managed (/clr) C++ assembly
body: <p>I have a managed C++ assembly using the <code>/clr</code> switch that I am trying to sign as per <a href="https://stackoverflow.com/questions/2656412/is-there-an-easy-way-to-sign-a-c-cli-assembly-in-vs-2010">this question</a> with the following post-build step:</p>
  
  <pre><code>sn -Ra "$(TargetPath)" MyKey.snk
  </code></pre>
  
  <p>However this is giving the following error:</p>
  
  <pre><code>C:\Path\Assembly.dll does not represent a strongly named assembly
  </code></pre>
  
  <p>What is going wrong?</p>