C# compiler

  • Thread starter Thread starter Jack
  • Start date Start date
ngen.exe compiles down to native code with one caveat: still requires .NET.
You can ngen your assemblies, but you cannot make them into native code in
the sense of "no .NET installed on the client."

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Jack,

You can use ngen.exe to generate a native image. However, this is not
recommended. You still have to install the runtime, as you will have to
access referenced assemblies (at the least mscorlib). Also, you will lose
out on any performance enhancements that come with JIT compilation.

Hope this helps.
 

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