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. .NET application to native code?

.NET application to native code?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpc++dotnetquestion
6 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.
  • J Offline
    J Offline
    jstonge
    wrote on last edited by
    #1

    I have a .NET application and I'd like to distibute it in 2 forms: 1. As is. 2. Compiled to run on a Windows systems which may not have the .NET framework. Is there a way to get a native application from a collection of assemblies? I looked into the ngen.exe program, but this appears to only pre-compile assemblies into an internal cache.

    J M R 3 Replies Last reply
    0
    • J jstonge

      I have a .NET application and I'd like to distibute it in 2 forms: 1. As is. 2. Compiled to run on a Windows systems which may not have the .NET framework. Is there a way to get a native application from a collection of assemblies? I looked into the ngen.exe program, but this appears to only pre-compile assemblies into an internal cache.

      J Offline
      J Offline
      James T Johnson
      wrote on last edited by
      #2

      Somewhere on this forum, someone was asking about Obfuscators and wanted an opinion about something from Salamander software (IIRC) which turned .NET apps into native code. Find the link and see whether it still requires the .NET framework installed. James - out of order -

      D 1 Reply Last reply
      0
      • J James T Johnson

        Somewhere on this forum, someone was asking about Obfuscators and wanted an opinion about something from Salamander software (IIRC) which turned .NET apps into native code. Find the link and see whether it still requires the .NET framework installed. James - out of order -

        D Offline
        D Offline
        Daniel Turini
        wrote on last edited by
        #3

        James T. Johnson wrote: Somewhere on this forum, someone was asking about Obfuscators and wanted an opinion about something from Salamander software (IIRC) which turned .NET apps into native code. Find the link and see whether it still requires the .NET framework installed. IIRC, Salamander is only a super-NGEN, you still need the .NET framework Your incessant rantings indicate you have a brain the size of a pea, and the mental capacity of a bag of hammers. - John Simmons

        1 Reply Last reply
        0
        • J jstonge

          I have a .NET application and I'd like to distibute it in 2 forms: 1. As is. 2. Compiled to run on a Windows systems which may not have the .NET framework. Is there a way to get a native application from a collection of assemblies? I looked into the ngen.exe program, but this appears to only pre-compile assemblies into an internal cache.

          M Offline
          M Offline
          Martin Haesemeyer
          wrote on last edited by
          #4

          jstonge wrote: 2. Compiled to run on a Windows systems which may not have the .NET framework. This is impossible IMHO. You will always need your assembly (because of the metadata) and the framework (as the class library and to interpret it) even if you precompile your assembly (with NGEN for example). Cheers Martin "Situation normal - all fu***d up" Illuminatus!

          L 1 Reply Last reply
          0
          • M Martin Haesemeyer

            jstonge wrote: 2. Compiled to run on a Windows systems which may not have the .NET framework. This is impossible IMHO. You will always need your assembly (because of the metadata) and the framework (as the class library and to interpret it) even if you precompile your assembly (with NGEN for example). Cheers Martin "Situation normal - all fu***d up" Illuminatus!

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

            And eventually all PC's will have the .NET framework pre-installed , just like all the VB/C++ runtimes. Its not all that different and could possibly decrease the size of an application if the application is very big. I wonder if it is possible the make a cutdown version of the .NET framework like as in Java, where only needed assemblies are required and the "WebStart" it. :) "I dont have a life, I have a program."

            1 Reply Last reply
            0
            • J jstonge

              I have a .NET application and I'd like to distibute it in 2 forms: 1. As is. 2. Compiled to run on a Windows systems which may not have the .NET framework. Is there a way to get a native application from a collection of assemblies? I looked into the ngen.exe program, but this appears to only pre-compile assemblies into an internal cache.

              R Offline
              R Offline
              RichardEastes
              wrote on last edited by
              #6

              This is a huge problem with .NET If you're a small company and generally don't distribute your apps on CD, .NET is severly limiting your potential market. I've managed to compile C++ 6.0 using Studio.NET and the final exe does not require the 22MB framework but I have been unsuccessful with VB.net I agree that EVENTUALLY, everyone will have the framework installed, but untill then, would you download a 22.1MB application or a 100Kb application? Rick Eastes. http://www.eastes.net

              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