Native Code Compilation

  • Thread starter Thread starter Samuel
  • Start date Start date
S

Samuel

Is it possible to compile .NET code (VB or C#) to native code for easier
installation of some older systems such as win 98?

Thank you,
Samuel
 
Samuel said:
Is it possible to compile .NET code (VB or C#) to native code for
easier installation of some older systems such as win 98?


All .Net applications are compiled to native code when they are started. You
might consider creating a native image on the destination machine using
ngen.exe.


Armin
 
All .Net applications are compiled to native code when they are
started. You might consider creating a native image on the destination
machine using ngen.exe.

But you'll still need the .NET runtime right?

It would be nice if you could statically compile a .NET app so that the
runtime is not needed.
 
Spam Catcher said:
But you'll still need the .NET runtime right?
Right.

It would be nice if you could statically compile a .NET app so that
the runtime is not needed.

Static linking is not supported.


Armin
 
What is the .NET runtime? is it just one dll file

And why everyone (or most people) uses the .NET framework specifically for
Win 98 where it takes so long to load the Framework

Thank you,
Samuel
 
And why everyone (or most people) uses the .NET framework specifically
for Win 98 where it takes so long to load the Framework

It lets you write once deploy anywhere... well more or less :)
 
Samuel said:
What is the .NET runtime? is it just one dll file

Several DLLs. A common platform containing basic stuff and an environment
(eg memory managemant) usable by many languages.
And why everyone (or most people) uses the .NET framework specifically for
Win 98 where it takes so long to load the Framework

Maybe because it's required if you write VB.Net applications.


Armin
 
Back
Top