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. How to redirect a .NET app to run on a specific .NET runtime

How to redirect a .NET app to run on a specific .NET runtime

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpphpcomtutorialannouncement
5 Posts 4 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.
  • C Offline
    C Offline
    C lviu
    wrote on last edited by
    #1

    Hello, I need to redirect my application to run on the latest version of the .NET runtime available on a machine. Does anyone have any idea how I could do this WITHOUT using a configuration file. I saw an application that does that, it's called "netz" (a .NET application compressor) The application is available at this url: http://www.madebits.com/netz/download.php If I run that application with both .NET 2.0 and .NET 1.1 it will run on 2.0, but if I have only .NET 1.1 it will run on 1.1 aswell and it doesn't have a netz.exe.config file. Thanks a lot -- modified at 5:38 Monday 9th January, 2006

    M D D 3 Replies Last reply
    0
    • C C lviu

      Hello, I need to redirect my application to run on the latest version of the .NET runtime available on a machine. Does anyone have any idea how I could do this WITHOUT using a configuration file. I saw an application that does that, it's called "netz" (a .NET application compressor) The application is available at this url: http://www.madebits.com/netz/download.php If I run that application with both .NET 2.0 and .NET 1.1 it will run on 2.0, but if I have only .NET 1.1 it will run on 1.1 aswell and it doesn't have a netz.exe.config file. Thanks a lot -- modified at 5:38 Monday 9th January, 2006

      M Offline
      M Offline
      mikailcetinkaya
      wrote on last edited by
      #2

      iis configuration mmc plugin's virtual dir property page has a tab called asp.net that maps which runtime to work in. just Control panel-> administrative tools-> iis -> select virtual dir and right click ; in menu properties the tab with asp.net look at it....(it configures by writing to directories' web.config) Mikail Çetinkaya . The C# DEveloper

      C 1 Reply Last reply
      0
      • M mikailcetinkaya

        iis configuration mmc plugin's virtual dir property page has a tab called asp.net that maps which runtime to work in. just Control panel-> administrative tools-> iis -> select virtual dir and right click ; in menu properties the tab with asp.net look at it....(it configures by writing to directories' web.config) Mikail Çetinkaya . The C# DEveloper

        C Offline
        C Offline
        C lviu
        wrote on last edited by
        #3

        Ok but I was talking about desktop applications not web applications.

        1 Reply Last reply
        0
        • C C lviu

          Hello, I need to redirect my application to run on the latest version of the .NET runtime available on a machine. Does anyone have any idea how I could do this WITHOUT using a configuration file. I saw an application that does that, it's called "netz" (a .NET application compressor) The application is available at this url: http://www.madebits.com/netz/download.php If I run that application with both .NET 2.0 and .NET 1.1 it will run on 2.0, but if I have only .NET 1.1 it will run on 1.1 aswell and it doesn't have a netz.exe.config file. Thanks a lot -- modified at 5:38 Monday 9th January, 2006

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          There's nothing to tell it to use the latest Framework version. This happens automatically, if the version of the .NET Framework that built the application is not installed. More information can be found here[^]. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          1 Reply Last reply
          0
          • C C lviu

            Hello, I need to redirect my application to run on the latest version of the .NET runtime available on a machine. Does anyone have any idea how I could do this WITHOUT using a configuration file. I saw an application that does that, it's called "netz" (a .NET application compressor) The application is available at this url: http://www.madebits.com/netz/download.php If I run that application with both .NET 2.0 and .NET 1.1 it will run on 2.0, but if I have only .NET 1.1 it will run on 1.1 aswell and it doesn't have a netz.exe.config file. Thanks a lot -- modified at 5:38 Monday 9th January, 2006

            D Offline
            D Offline
            Daniel Grunwald
            wrote on last edited by
            #5

            I don't think it's possible without a config file. The "secret" of netz is that it is compiled for .NET 1.0. Since you don't have that version on your machine, the newest available version is used instead.

            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