title: Targeting ES5 with TypeScript in Visual Studio
body: <p>I would like to use get/set syntax in TypeScript within Visual Studio Express for Web.  How do I enable this.  I currently get this error when compiling;</p>
  
  <blockquote>
    <p>Property accessors are only available when targeting ES5 or greater</p>
  </blockquote>
  
  <p>The file being compiled has a build action of <code>TypeScriptCompile</code>.  I don't know how to add a the necessary compiler switch from within Visual Studio.  </p>
  
  <p>Any help would be appreciated.</p>