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. .NET (Core and Framework)
  4. Why can't .Net executable programs work on a system without .Net framework?

Why can't .Net executable programs work on a system without .Net framework?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpcssdotnetquestionworkspace
7 Posts 6 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.
  • W Offline
    W Offline
    Wajeeha
    wrote on last edited by
    #1

    And if they can be, how? Can't any other less space-taking program/environment take its place? And why?

    C L T 3 Replies Last reply
    0
    • W Wajeeha

      And if they can be, how? Can't any other less space-taking program/environment take its place? And why?

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Wajeeha wrote:

      Why can't .Net executable programs work on a system without .Net framework?

      Because the framework contains the code that your application calls. Unless you write an application that makes zero calls into the framework. But even then it requires the CLR.

      Wajeeha wrote:

      And if they can be, how?

      There are third party tools that encorporate what is needed into your application, but they are very expensive.

      Wajeeha wrote:

      Can't any other less space-taking program/environment take its place?

      At the end of the day you have to consider what your priorities are. If you require a small footprint then you have to design to that consideration from the start. If you have already gone down the road of building the .NET application then you are probably stuck with that descision.

      Wajeeha wrote:

      And why?

      Why what? I don't understand "why" in this context.

      Recent blog posts: * Introduction to LINQ to XML (Part 1) - (Part 2) - (part 3) My website | Blog

      R 1 Reply Last reply
      0
      • C Colin Angus Mackay

        Wajeeha wrote:

        Why can't .Net executable programs work on a system without .Net framework?

        Because the framework contains the code that your application calls. Unless you write an application that makes zero calls into the framework. But even then it requires the CLR.

        Wajeeha wrote:

        And if they can be, how?

        There are third party tools that encorporate what is needed into your application, but they are very expensive.

        Wajeeha wrote:

        Can't any other less space-taking program/environment take its place?

        At the end of the day you have to consider what your priorities are. If you require a small footprint then you have to design to that consideration from the start. If you have already gone down the road of building the .NET application then you are probably stuck with that descision.

        Wajeeha wrote:

        And why?

        Why what? I don't understand "why" in this context.

        Recent blog posts: * Introduction to LINQ to XML (Part 1) - (Part 2) - (part 3) My website | Blog

        R Offline
        R Offline
        Roger Alsing 0
        wrote on last edited by
        #3

        Microsoft Research have a compiler called Pheonix that can do a little bit of everything (eg compile all of the languages that MS support). It has been discussed to make it able to compile to native too. So it's not impossible that we will see a C# to native compiler from MS in the future..

        My Blog

        V 1 Reply Last reply
        0
        • R Roger Alsing 0

          Microsoft Research have a compiler called Pheonix that can do a little bit of everything (eg compile all of the languages that MS support). It has been discussed to make it able to compile to native too. So it's not impossible that we will see a C# to native compiler from MS in the future..

          My Blog

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Roger Alsing wrote:

          Pheonix

          Is the one you are referring to? http://research.microsoft.com/phoenix/[^]

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

          R 1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            Roger Alsing wrote:

            Pheonix

            Is the one you are referring to? http://research.microsoft.com/phoenix/[^]

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

            R Offline
            R Offline
            Roger Alsing 0
            wrote on last edited by
            #5

            Yes There is an interesting clip about it here: http://channel9.msdn.com/Showpost.aspx?postid=396461

            My Blog

            1 Reply Last reply
            0
            • W Wajeeha

              And if they can be, how? Can't any other less space-taking program/environment take its place? And why?

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #6

              Wajeeha wrote:

              Can't any other less space-taking program/environment take its place?

              I suggest you upgrade your 120MB hard drive.

              xacc.ide - now with TabsToSpaces support
              IronScheme - 1.0 alpha 3 out now

              1 Reply Last reply
              0
              • W Wajeeha

                And if they can be, how? Can't any other less space-taking program/environment take its place? And why?

                T Offline
                T Offline
                Thomas Stockwell
                wrote on last edited by
                #7

                Their are open-source 'wrappers' for the .NET framework that allow .NET applications (up to 2.0 as of right now) on other OSs such as linux, mac, and unix. A few to mention: Mono Portable .NET Read about them at: Wiki article on .NET Framework[^]

                Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios Discounted or Free Software for Students: DreamSpark - downloads.channel8.msdn.com MSDN Academic Alliance - www.msdnaa.com

                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