Reputation: 84754
aspnet_compiler
appears to have two modes:
PrecompiledApp.config
is generated, generated assemblies go into target\bin, views are (optionally) replaced with placeholdersPrecompiledApp.config
is generated, generated assemblies go into Temporary ASP.NET files, views are left as-isIs it possible to trigger an in-place precompilation but have the generated assemblies + config also affect the original location?
Upvotes: 3
Views: 973
Reputation: 43193
Doing this is not possible. Note that the two modes target very different scenarios:
Note that if you do #1 in non-updatable mode, then even your .aspx (and related) files get modified to become stubs. So clearly, that could not happen in-place as that would end up deleting your original aspx files.
I'm not saying that it would be inconceivable to have some kind of hybrid mode that would do some of what Target mode does and keep it in the in-place bits. It's just not a scenario that the tool is targeting.
Upvotes: 2