Can you precompile a desktop app?

  • Thread starter Thread starter the_grove_man
  • Start date Start date
This is confusing. :-)

All windows forms apps are pre-compiled. Some ASP.NET apps are, at least in
2.0.

But, you are probably talking about the preloading, via the .axd file, which
goes ahead and runs the pages into memory, as if they had been hit. This
goes beyond IL and loads assemblies into memory. There is no built in
function to do this with windows forms, but it is not generally a problem.

THere are a couple of things you can do to speed things up:

1. Use the optimization option in the compile properties.
2. ngen.exe your assemblies on the box in question (or one of the same type)

Both of these will greatly speed the app and will help with loading time.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top