title: How do I determine the current operating system version in MSBuild?
body: <p>Is there a native or custom MSBuild task available that returns the current OS version?  Is there a binary that I could call via an Exec task?  Or is there some other option?</p>
  
  <p>Edit:
  Peter Lang suggested the following link:
  <a href="http://www.paraesthesia.com/archive/2009/07/06/getting-the-windows-os-version-in-msbuild.aspx" rel="nofollow noreferrer">http://www.paraesthesia.com/archive/2009/07/06/getting-the-windows-os-version-in-msbuild.aspx</a></p>