Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8968127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:24:03+00:00 2026-06-15T17:24:03+00:00

aspnet_compiler appears to have two modes: Target – Entire site is copied to the

  • 0

aspnet_compiler appears to have two modes:

  1. Target – Entire site is copied to the target folder, PrecompiledApp.config is generated, generated assemblies go into target\bin, views are (optionally) replaced with placeholders
  2. In place – Site is compiled in it’s original location, no PrecompiledApp.config is generated, generated assemblies go into Temporary ASP.NET files, views are left as-is

Is it possible to trigger an in-place precompilation but have the generated assemblies + config also affect the original location?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:24:04+00:00Added an answer on June 15, 2026 at 5:24 pm

    Doing this is not possible. Note that the two modes target very different scenarios:

    1. Target mode is about creating bits that you can then deploy onto a server, such that it won’t have to do as much compilation. Note that there are two sub-modes, depending on whether you make it updatable or not (-u switch).
    2. In place mode is simply about warming up a site that is already deployed, such that the first request to it will be faster. Another way to look at it is that it’s similar to manually requesting all the pages in your site to warm it up, except with a little less pain.

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have asp.net mvc intranet site that is deployed to IIS6. Site is used
Tonight I copied an ASP 2.0 web site onto a client's machine, and lo!
I have an MVC3 C# .Net web app and I am running aspnet_compiler on
We have a huge site that still has over 800 classic asp pages. While
I have a c# web site (not a web application project) in a .net
Is it possible to instruct the aspnet_compiler to set debug=false in the web.config? My
I have two projects in the same solution. One is an ASP.NET MVC 2
I use aspnet_compiler to precompile an asp.net website. Then, I run aspnet_merge to merge
I'm using aspnet_compiler.exe to precompile my application for deployment. However, I don't think it's
How ASP.NET compiles its assemblies generally confuses me. It seems that I cannot program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.