Run exe under Framework 1.1

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • johan

    Run exe under Framework 1.1

    I have just installed version 1.1 of the framework. I
    wrote a simple exe that displays the framework version
    using System.Environm ent.Version.ToS tring. It returned
    1.0.3705.288, which is version 1.0. I then created a
    config file for it with the following, trying
    requiredRuntime and supportedRuntim e:

    <configuratio n>
    <startup>
    <requiredRuntim e version="v1.1.4 322" />
    </startup>
    </configuration>

    When I run this it is still showing that it's using
    version 1.0. What can I do to get the exe to recognize
    version 1.1?
  • Charles Law

    #2
    Re: Run exe under Framework 1.1

    Hi Johan

    Rebuild it in VS.NET V2003.

    V2002 only recognises framework V1.0
    V2003 is designed to use framework V1.1

    That's the way it is.

    HTH

    Charles


    "johan" <johanastaria@h otmail.com> wrote in message
    news:2c7801c373 bf$017cf4e0$a40 1280a@phx.gbl.. .[color=blue]
    > I have just installed version 1.1 of the framework. I
    > wrote a simple exe that displays the framework version
    > using System.Environm ent.Version.ToS tring. It returned
    > 1.0.3705.288, which is version 1.0. I then created a
    > config file for it with the following, trying
    > requiredRuntime and supportedRuntim e:
    >
    > <configuratio n>
    > <startup>
    > <requiredRuntim e version="v1.1.4 322" />
    > </startup>
    > </configuration>
    >
    > When I run this it is still showing that it's using
    > version 1.0. What can I do to get the exe to recognize
    > version 1.1?[/color]


    Comment

    • Phil Wilson

      #3
      Re: Run exe under Framework 1.1

      Try this, which works for me on an app built with the 1.0 framework:

      <?xml version ="1.0"?>
      <configuratio n>
      <startup>
      <supportedRunti me version="v1.1.4 322" />
      <supportedRunti me version="v1.0.3 705" />
      </startup>
      </configuration>

      --
      Phil Wilson [MVP Windows Installer]
      ----
      "johan" <johanastaria@h otmail.com> wrote in message
      news:2c7801c373 bf$017cf4e0$a40 1280a@phx.gbl.. .[color=blue]
      > I have just installed version 1.1 of the framework. I
      > wrote a simple exe that displays the framework version
      > using System.Environm ent.Version.ToS tring. It returned
      > 1.0.3705.288, which is version 1.0. I then created a
      > config file for it with the following, trying
      > requiredRuntime and supportedRuntim e:
      >
      > <configuratio n>
      > <startup>
      > <requiredRuntim e version="v1.1.4 322" />
      > </startup>
      > </configuration>
      >
      > When I run this it is still showing that it's using
      > version 1.0. What can I do to get the exe to recognize
      > version 1.1?[/color]


      Comment

      • Tim Kurtzman

        #4
        RE: Run exe under Framework 1.1

        Make sure you have

        <?xml version ="1.0"?>

        as the first line in your config file. Otherwise, this *should* work. Try
        giving your config file a ".xml" extension and see if IE can display it.
        It's easy to have some syntax errors in your XML and IE is a great way to
        find them.

        Tim


        --------------------
        | Content-Class: urn:content-classes:message
        | From: "johan" <johanastaria@h otmail.com>
        | Sender: "johan" <johanastaria@h otmail.com>
        | Subject: Run exe under Framework 1.1
        | Date: Fri, 5 Sep 2003 08:04:29 -0700
        | Lines: 16
        | Message-ID: <2c7801c373bf$0 17cf4e0$a401280 a@phx.gbl>
        | MIME-Version: 1.0
        | Content-Type: text/plain;
        | charset="iso-8859-1"
        | Content-Transfer-Encoding: 7bit
        | X-Newsreader: Microsoft CDO for Windows 2000
        | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
        | Thread-Index: AcNzvwF8sJ8zCI9 UQnKeiicizNaAGQ ==
        | Newsgroups: microsoft.publi c.dotnet.genera l
        | Path: cpmsftngxa06.ph x.gbl
        | Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:107430
        | NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
        | X-Tomcat-NG: microsoft.publi c.dotnet.genera l
        |
        | I have just installed version 1.1 of the framework. I
        | wrote a simple exe that displays the framework version
        | using System.Environm ent.Version.ToS tring. It returned
        | 1.0.3705.288, which is version 1.0. I then created a
        | config file for it with the following, trying
        | requiredRuntime and supportedRuntim e:
        |
        | <configuratio n>
        | <startup>
        | <requiredRuntim e version="v1.1.4 322" />
        | </startup>
        | </configuration>
        |
        | When I run this it is still showing that it's using
        | version 1.0. What can I do to get the exe to recognize
        | version 1.1?
        |

        Comment

        Working...