Building for use with non-.net compatible windows systems

  • Thread starter Thread starter chris2
  • Start date Start date
C

chris2

This may seem like a strange question to most readers, but I made a
nasty assumption when I made my first little "Hello World" application.

Seeing as I'm 100% novice to Visual Studio, and .net in general, I made
an assumption that compiled programs worked on all windows (at least
modern) computers. I tried to send said application to my friend to see
what I did, and he got the error ".NET Framework Initialization
Error"... it then dawned upon me that whatever I was compiling was
going to depend on the .net framework.

My question is, is there a way to build my program so that it will be
ALL in native code, not just the MSIL? Or do I need a 'higher' version
of VS.NET? (I'm using the academic version)

Thanks for any help...
 
This may seem like a strange question to most readers, but I made a
nasty assumption when I made my first little "Hello World" application.

Seeing as I'm 100% novice to Visual Studio, and .net in general, I made
an assumption that compiled programs worked on all windows (at least
modern) computers. I tried to send said application to my friend to see
what I did, and he got the error ".NET Framework Initialization
Error"... it then dawned upon me that whatever I was compiling was
going to depend on the .net framework.

My question is, is there a way to build my program so that it will be
ALL in native code, not just the MSIL? Or do I need a 'higher' version
of VS.NET? (I'm using the academic version)

See http://www.pobox.com/~skeet/csharp/faq/#framework.required
 
Simply .NET is all about runtime compilation and excution, to run your .NET
app you need the compiler of .NET running in the machine (the .NET framework
library) which is available for download from microsoft for free, and it is
planned to be installed automatically with future windows releases.
 
Back
Top