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. Execute a C# App without installing .Net Framework !

Execute a C# App without installing .Net Framework !

Scheduled Pinned Locked Moved C#
csharpdotnetquestion
25 Posts 10 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.
  • 1 12Code

    You can also build .NET applications using Notepad++, TextPad or c# command-line compiler csc.exe.

    Kelvin

    M Offline
    M Offline
    Mohammad Dayyan
    wrote on last edited by
    #21

    :laugh:

    1 Reply Last reply
    0
    • J Jerry Wang

      Try Xenocode Postbuild Run your application on any Windows PC - Native x86 executable generation allows your .NET application to run anywhere, with or without the Framework. Embed application-specific .NET and DirectX dependencies. (Windows 9x and NT4 targets not supported.)

      D Offline
      D Offline
      Dan Neely
      wrote on last edited by
      #22

      Depending on what you want to accomplish xenocode might not do what you want. IT doesn't actually convert your app into a native one. It wraps a compiler and the used parts of the framework into a single giant exe and then obfuscates them. At run time it then extracts everything and runs it just like a normal .net app.

      Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

      1 Reply Last reply
      0
      • L Lost User

        DotGNU[^] Mono[^] ILDJIT[^] XenoCode was already mentioned as a linker, but there's also one from RemoteSoft[^]. The .NET framework is *free*, why would you want to avoid it? That's like doing C++ programming without MFC :(

        I are troll :)

        B Offline
        B Offline
        benjymous
        wrote on last edited by
        #23

        Eddy Vluggen wrote:

        That's like doing C++ programming without MFC

        You mean the only way C++ programming is bearable?

        Help me! I'm turning into a grapefruit! Buzzwords!

        1 Reply Last reply
        0
        • M Mohammad Dayyan

          Hi. Can we run a C# App on a system without installing .NET Framework ? Is it possible ? Thank you.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #24

          You can use software like Xenocode Postbuild 2008[^], but it is very expensive and even if you do get it, it can make executables unstable and extremely large.

          Check out the CodeProject forum Guidelines[^]

          M 1 Reply Last reply
          0
          • L Lost User

            You can use software like Xenocode Postbuild 2008[^], but it is very expensive and even if you do get it, it can make executables unstable and extremely large.

            Check out the CodeProject forum Guidelines[^]

            M Offline
            M Offline
            Mohammad Dayyan
            wrote on last edited by
            #25

            Thank you EliottA

            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