Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Compatibility question?

Compatibility question?

Scheduled Pinned Locked Moved C#
csharpquestioncssdotnetvisual-studio
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    max29297
    wrote on last edited by
    #1

    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.***

    V L 2 Replies Last reply
    0
    • M max29297

      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.***

      V Offline
      V Offline
      Vikram A Punathambekar
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • M max29297

        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.***

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        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]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups