Compatibility question?
-
If I design a program in C#, iit will still run on a computer without the .NET Framework, right? I don't see why it wouldn't, but I thought I should ask. Thanks in advance!
----- *** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***
-
If I design a program in C#, iit will still run on a computer without the .NET Framework, right? I don't see why it wouldn't, but I thought I should ask. Thanks in advance!
----- *** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***
max29297 wrote:
If I design a program in C#, iit will still run on a computer without the .NET Framework, right?
No. Unless you have Mono, but I don't think you were thinking of that.
Cheers, Vıkram.
After all is said and done, much is said and little is done.
-
If I design a program in C#, iit will still run on a computer without the .NET Framework, right? I don't see why it wouldn't, but I thought I should ask. Thanks in advance!
----- *** Never give me an answer having anything to do with Visual Studio. I don't have this because I have two computers, one being my dad's mac, which is connected to the internet, the other being my pc, which is, sadly, not connected to the internet. The setup for the Visual C# program I think is called a "bootstrap" program, and it needs to connect to the internet to install the program. THEREFORE I cannot install this program onto my pc.***
Hi Max, the answer is no: the CLR compilers (C#, C++/CLI and VB.NET) emit MSIL code, not native code, so you need the .NET Framework to JIT and execute that; and your app also needs the DLLs (such as mscorlib.dll) that contain the system classes (#using System.Text and the like) and come with the .NET Framework. And before you ask, you cannot automate a FrameWork installation, not from within an app, not even from within an installer. So you need the Framework and you have to install it manually, separate from any app. I think there are CD/DVDs that contain the Framework, I dont think you need Internet to do it. BTW modern PCs, if they have Windows, also have (a couple of versions of) the .NET Framework pre-installed. :)
Luc Pattyn [My Articles] [Forum Guidelines]