title: Why does this call to aspnet_compiler not produce new .NET assemblies?
body: <p>I'm trying to make Visual Studio precompile my ASP.NET application that will be deployed on Azure. I've added the following to my .csproj file:</p>
  
  <pre><code>&lt;Target Name="AfterBuild"&gt;
      &lt;Message Text="Starting AspNetCompiler for $(ProjectDir)" Importance="high" /&gt;
      &lt;AspNetCompiler
          VirtualPath="/"
          PhysicalPath="$(ProjectDir)"
      /&gt;
  &lt;/Target&gt;
  </code></pre>
  
  <p>Now when I ask Visual Studio to prepare a service package the following appears in the build output:</p>
  
  <pre><code>Starting AspNetCompiler for [PathToMyProject]
  C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v / -p [PathToMyProject]
  </code></pre>
  
  <p>If I plant an error in any of the view files that error is identified and breaks the build so clearly the precompilation is perfomed.</p>
  
  <p>Yet I don't see any new .NET assemblies anywhere in the results.</p>
  
  <p>How do I make ASP.NET compiler create the .NET assemblies for the views? </p>