title: How get the "create assembly" output text for post-build script?
body: <p>I have a SQL Trigger project.</p>
  
  <p>Currently, when I go to "Project->Publish", I can choose "generate script", it will generate a script for me and include my project's assembly via a line:</p>
  
  <pre><code>GO
  CREATE ASSEMBLY [MyProject.MyObject]
      AUTHORIZATION [dbo]
      FROM 0x4F5C8000....
      WITH PERMISSION_SET = UNSAFE;
  GO
  ALTER ASSEMBLY [MyProject.MyObject]
      DROP FILE ALL
      ADD FILE FROM 0x4D5743....
  </code></pre>
  
  <p>I want to generate that on <code>build</code> and grab that as text (for Powershell) so i can put it in another file.</p>
  
  <p>I know how to put it in another file via powershell, but how do I generate it on post-build?</p>