title: How to execute the Durandal JS optimizer.exe as part of VS2012 build/publish process?
body: <p>I was getting 404 Not found for the main-built.js file when I was running my DurandalJS SPA application published in release mode on a web server.</p>
  
  <p><img src="https://i.stack.imgur.com/LRZU9.png" alt="404 Not Found: main-built.js "></p>
  
  <p>So I figured out I needed to run the optimizer.exe to generete the missing file main-built.js</p>
  
  <p>Is it possible to include the execution of optimizer.exe as part of Visual Studio 2012 build/publish process? 
  If yes, how do I do that?</p>
  
  <p>Thanks</p>