title: Visual Studio Online isn't deploying .js files from TypeScript compilation to Azure
body: <h1>Background</h1>
  
  <p>I have just set up VS2013 with latest TypeScript support. Starting with the example "Greeter" app, I've built a simple one-page app. The TypeScript is all nicely rendered as .js on save. When I press F5 this builds and runs as expected.</p>
  
  <h3>Git</h3>
  
  <p>I've used the built-in Git support to sync to a new project on Visual Studio Online. All good so far.</p>
  
  <h3>Link Visual Studio Online to Azure with Git</h3>
  
  <p>Next, I set up a new (free) Azure Website in my Windows Azure account, and configured it for publishing from Git on Visual Studio Online. It created a build definition using the template named GitContinuousDeploymentTemplate.12.xaml. This needed a bit of fiddling to configure the "Windows Azure Deployment Environment" settings, particularly the "Webspace" which it turns out is "northeuropewebspace" for me. But, on my third attempt, the hosted build succeeded and deployed to my Windows Azure website. </p>
  
  <h1>Problem</h1>
  
  <p>The deployed site has no .js files, which were compiled from the TypeScript.</p>
  
  <p>I can see from the build log that the TypeScript compiler was invoked:</p>
  
  <pre><code>CompileTypeScript:
    C:\Program Files (x86)\Microsoft SDKs\TypeScript\tsc.exe  --module AMD --sourcemap --target ES5 "CrankView.ts" "CrankViewModel.ts" "Point.ts" "scripts\DefinitelyTyped\jquery\jquery.d.ts" "StirlingApp.ts" "StirlingModel.ts" "WorldView.ts"
  </code></pre>
  
  <p>I received a warning that there were no .cs files, which is true:</p>
  
  <pre><code>CSC : warning CS2008: No source files specified [C:\a\src\Stirling\Stirling.csproj]
  </code></pre>
  
  <p>But then none of the .js files presumably created earlier appear in any of the subsequent build steps, and they don't appear on the deployment website.</p>
  
  <h1>Question</h1>
  
  <p>What do I have to do to get it to deploy the "compiled" .js files?</p>