title: MSBuild WriteCodeFragment Task
body: <p>It's not clear to me what the purpose of the WriteCodeFragment task is (<a href="https://msdn.microsoft.com/en-us/library/microsoft.build.tasks.writecodefragment.aspx" rel="noreferrer">https://msdn.microsoft.com/en-us/library/microsoft.build.tasks.writecodefragment.aspx</a>). Google just seems to turn-up documentation and the one example I've seen isn't definitive.</p>
  
  <p>Can someone clarify? Thanks.</p>