Why does this call to aspnet_compiler not produce new .NET assemblies?

dreamboxxx

New Member
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:\[code\]<Target Name="AfterBuild"> <Message Text="Starting AspNetCompiler for $(ProjectDir)" Importance="high" /> <AspNetCompiler VirtualPath="/" PhysicalPath="$(ProjectDir)" /></Target>\[/code\]Now when I ask Visual Studio to prepare a service package the following appears in the build output:\[code\]Starting AspNetCompiler for [PathToMyProject]C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v / -p [PathToMyProject]\[/code\]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.Yet I don't see any new .NET assemblies anywhere in the results.How do I make ASP.NET compiler create the .NET assemblies for the views?
 
Back
Top