Compile with different framework?

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

    #1

    Compile with different framework?

    Hi

    I have created an ASP.Net web app using Visual Studio 2002
    and .Net framework V 1.0.

    There is a bug fix I need in Framework V 1.1.

    Do I have to recompile my application with Framework V 1.1
    (if so do I need Visual Studio 2003 - if I don't how do I
    tell it to re-compile with V 1.1 and not V 1.0).

    If I don't have to re-compile is it enough to include
    a 'config' file and force my application to use V 1.1 if I
    have both versions of the framework installed on my server.

    Regards
    Russell Gibson
  • Guest's Avatar

    #2
    Compile with different framework?

    You've sort of hit the nail on the head. VS2002 uses
    framework 1.0 and VS2003 uses framework 1.1. If you
    recompile the project in VS2003 then that will do the
    trick.

    However - I believe that once you open a project and
    recompile it in VS2003 you won't be able to open it in
    VS2002.

    Hope this helps
    Ben[color=blue]
    >-----Original Message-----
    >Hi
    >
    >I have created an ASP.Net web app using Visual Studio[/color]
    2002[color=blue]
    >and .Net framework V 1.0.
    >
    >There is a bug fix I need in Framework V 1.1.
    >
    >Do I have to recompile my application with Framework V[/color]
    1.1[color=blue]
    >(if so do I need Visual Studio 2003 - if I don't how do[/color]
    I[color=blue]
    >tell it to re-compile with V 1.1 and not V 1.0).
    >
    >If I don't have to re-compile is it enough to include
    >a 'config' file and force my application to use V 1.1 if[/color]
    I[color=blue]
    >have both versions of the framework installed on my[/color]
    server.[color=blue]
    >
    >Regards
    >Russell Gibson
    >.
    >[/color]

    Comment

    • phoenix

      #3
      Re: Compile with different framework?

      You'll have to recompile it. The problem is VS.Net 2002 doesn't work with
      V1.1. I don't think it's worth buying the new version just so that you can
      recompile it. Try recompiling it with the help of commandline tools or with
      a freeware editor like #develop.

      Yves

      "Russell Gibson" <russell.gibson @btinternet.com > schreef in bericht
      news:0d2b01c3a2 cd$8148e7a0$a40 1280a@phx.gbl.. .[color=blue]
      > Hi
      >
      > I have created an ASP.Net web app using Visual Studio 2002
      > and .Net framework V 1.0.
      >
      > There is a bug fix I need in Framework V 1.1.
      >
      > Do I have to recompile my application with Framework V 1.1
      > (if so do I need Visual Studio 2003 - if I don't how do I
      > tell it to re-compile with V 1.1 and not V 1.0).
      >
      > If I don't have to re-compile is it enough to include
      > a 'config' file and force my application to use V 1.1 if I
      > have both versions of the framework installed on my server.
      >
      > Regards
      > Russell Gibson[/color]


      Comment

      • Michael Giagnocavo [MVP]

        #4
        Re: Compile with different framework?

        If you install V1.1 on the server, then your app will run with the v1.1
        framework. This is assuming the bug is in the base class libraries. In
        ASP.NET, only one version gets loaded so if you install v1.1 and make sure
        it's registered (aspnet_regiis) then you should be set.
        -mike
        MVP

        "Russell Gibson" <russell.gibson @btinternet.com > wrote in message
        news:0d2b01c3a2 cd$8148e7a0$a40 1280a@phx.gbl.. .[color=blue]
        > Hi
        >
        > I have created an ASP.Net web app using Visual Studio 2002
        > and .Net framework V 1.0.
        >
        > There is a bug fix I need in Framework V 1.1.
        >
        > Do I have to recompile my application with Framework V 1.1
        > (if so do I need Visual Studio 2003 - if I don't how do I
        > tell it to re-compile with V 1.1 and not V 1.0).
        >
        > If I don't have to re-compile is it enough to include
        > a 'config' file and force my application to use V 1.1 if I
        > have both versions of the framework installed on my server.
        >
        > Regards
        > Russell Gibson[/color]


        Comment

        Working...