Re: Is there a .NET compiler ?



"John Jacobson" <jake@j[nospam]snewsreader.com> wrote in message news:4423684c@xxxxxxxxxxxxxxxxxxxxxxxxx
Jon Shemitz <jon@xxxxxxxxxxxxxxxxx> wrote in message
<442362E9.6948ECF4@xxxxxxxxxxxxxxxxx>
Yes. It's called NGen. Native Generate. In 2.0, NGen precompiles a
whole app; in 1.x, it works an assembly at a time.

Someone else on this newsgroup said that it only compiles your code in, not the
.NET framework pieces that your code relies on.


Yes - that was me, but I'm happy to be proven wrong. Linking parts of the framework into your app goes against the whole philosophy of .NET. Precompiling using ngen is also not the norm. It should only be done for special cases by those who really understand what they are doing - and that doesn't include me yet.

--
Chris Burrows
CFB Software
http://www.cfbsoftware.com/gpcp

.



Relevant Pages

  • Re: migrating VC6 to VC8
    ... > My MFC project consist of several files that constitute the MFC ... When you compile your existsing code with /clr, you can use .NET framework ... > Even if you have a managed app you can't use it as you can use Java ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Real-World Sample Application?
    ... My experience has been that if an application cost ... VB.NET app would be SQL Server and the back end in the MS Access ... The key to .Net is to know the .Net Framework, using the code in the library and what is in the namespaces of the .Net Framework. ...
    (microsoft.public.dotnet.general)
  • Re: Web vs Windows Application
    ... my app took several months to write and i was under contract ... client have .net framework cause of large operating system environment. ... i have designed large scale data entry ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Web vs Windows Application
    ... my app took several months to write and i was under contract ... client have .net framework cause of large operating system environment. ... i have designed large scale data entry ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: (Raising my hand) I dont get it...
    ... Lars wrote: ... I'm a happy VB6 ... have all of those nasty .ddl's to tag with your app. ... really is if the target pc has the .NET framework on it. ...
    (microsoft.public.dotnet.general)