How change framework

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

    How change framework

    How do I change an application to target the .NET 2.0 framework, NOT the
    ..NET 3 framework?

    I'm creating a winform app, but I would think it's the same method.

    The option to change doesn't show up in the properties page of my project.


  • Cowboy \(Gregory A. Beamer\)

    #2
    Re: How change framework

    In VS 2008, you can change the framework in the properties page.

    --
    Gregory A. Beamer
    MVP, MCP: +I, SE, SD, DBA

    Subscribe to my blog


    or just read it:


    *************** *************** *************** ****
    | Think outside the box!
    |
    *************** *************** *************** ****
    "Cirene" <cirene@nowhere .comwrote in message
    news:eSDypdhqIH A.4928@TK2MSFTN GP04.phx.gbl...
    How do I change an application to target the .NET 2.0 framework, NOT the
    .NET 3 framework?
    >
    I'm creating a winform app, but I would think it's the same method.
    >
    The option to change doesn't show up in the properties page of my project.
    >

    Comment

    • Patrice

      #3
      Re: How change framework

      Which property page have you tried ?

      If C## this is in the Application tab. If VB.NET click "Advanced compiled
      options" in the "Compile" tab.
      __
      Patrice

      "Cirene" <cirene@nowhere .coma écrit dans le message de groupe de
      discussion : eSDypdhqIHA.492 8@TK2MSFTNGP04. phx.gbl...
      How do I change an application to target the .NET 2.0 framework, NOT the
      .NET 3 framework?
      >
      I'm creating a winform app, but I would think it's the same method.
      >
      The option to change doesn't show up in the properties page of my project.
      >

      Comment

      • Juan T. Llibre

        #4
        Re: How change framework

        re:
        !How do I change an application to target the .NET 2.0 framework, NOT the .NET 3 framework?

        For Visual Basic WinForms projects, click the Compile tab and then click Advanced Compile Options.
        The Target Framework list is in the Advanced Compiler Settings Dialog Box.

        Open your project, right-click your project's name in the Solution Explorer;
        select "Properties " from the context menu; select "Compile" from the left-hand list;
        scroll down to the "Advanced Compile Options" button and click it;
        select the "Target Framework (all configurations) dropdown and
        select the target framework you want ( 2.0, 3.0 or 3.5 ).

        You will be prompted to close and reopen the project.
        When it reopens automatically, the change will have been effected.

        For Visual C# WinForms projects, the Target Framework list is on the Application tab of the Project Designer.

        Open your project, right-click your project's name in the Solution Explorer;
        select "Properties " from the context menu; select "Applicatio n" from the left-hand list;
        select the "Target Framework (all configurations) dropdown and
        select the target framework you want ( 2.0, 3.0 or 3.5 ).

        re:
        !I'm creating a winform app, but I would think it's the same method.

        It's not.



        Juan T. Llibre, asp.net MVP
        asp.net faq : http://asp.net.do/faq/
        foros de asp.net, en español : http://asp.net.do/foros/
        =============== =============== ========
        "Cirene" <cirene@nowhere .comwrote in message news:eSDypdhqIH A.4928@TK2MSFTN GP04.phx.gbl...
        How do I change an application to target the .NET 2.0 framework, NOT the .NET 3 framework?
        I'm creating a winform app, but I would think it's the same method.
        The option to change doesn't show up in the properties page of my project.


        Comment

        • Cirene

          #5
          Re: How change framework

          Thanks yall!
          "Juan T. Llibre" <nomailreplies@ nowhere.comwrot e in message
          news:OPEIA$hqIH A.1240@TK2MSFTN GP02.phx.gbl...
          re:
          !How do I change an application to target the .NET 2.0 framework, NOT
          the .NET 3 framework?
          >
          For Visual Basic WinForms projects, click the Compile tab and then click
          Advanced Compile Options.
          The Target Framework list is in the Advanced Compiler Settings Dialog Box.
          >
          Open your project, right-click your project's name in the Solution
          Explorer;
          select "Properties " from the context menu; select "Compile" from the
          left-hand list;
          scroll down to the "Advanced Compile Options" button and click it;
          select the "Target Framework (all configurations) dropdown and
          select the target framework you want ( 2.0, 3.0 or 3.5 ).
          >
          You will be prompted to close and reopen the project.
          When it reopens automatically, the change will have been effected.
          >
          For Visual C# WinForms projects, the Target Framework list is on the
          Application tab of the Project Designer.
          >
          Open your project, right-click your project's name in the Solution
          Explorer;
          select "Properties " from the context menu; select "Applicatio n" from the
          left-hand list;
          select the "Target Framework (all configurations) dropdown and
          select the target framework you want ( 2.0, 3.0 or 3.5 ).
          >
          re:
          !I'm creating a winform app, but I would think it's the same method.
          >
          It's not.
          >
          >
          >
          Juan T. Llibre, asp.net MVP
          asp.net faq : http://asp.net.do/faq/
          foros de asp.net, en español : http://asp.net.do/foros/
          =============== =============== ========
          "Cirene" <cirene@nowhere .comwrote in message
          news:eSDypdhqIH A.4928@TK2MSFTN GP04.phx.gbl...
          >How do I change an application to target the .NET 2.0 framework, NOT the
          >.NET 3 framework?
          >
          >I'm creating a winform app, but I would think it's the same method.
          >
          >The option to change doesn't show up in the properties page of my
          >project.
          >
          >
          >

          Comment

          • Cirene

            #6
            Re: How change framework

            Why is it that I target the 2.0 framework yet when my client is installing
            the WinForm app it's trying to install the 3.5 framework (the version it
            used to be)?

            I've verified the Adv Compiler Settings. They are set to 2.0.

            Thanks.

            "Juan T. Llibre" <nomailreplies@ nowhere.comwrot e in message
            news:OPEIA$hqIH A.1240@TK2MSFTN GP02.phx.gbl...
            re:
            !How do I change an application to target the .NET 2.0 framework, NOT
            the .NET 3 framework?
            >
            For Visual Basic WinForms projects, click the Compile tab and then click
            Advanced Compile Options.
            The Target Framework list is in the Advanced Compiler Settings Dialog Box.
            >
            Open your project, right-click your project's name in the Solution
            Explorer;
            select "Properties " from the context menu; select "Compile" from the
            left-hand list;
            scroll down to the "Advanced Compile Options" button and click it;
            select the "Target Framework (all configurations) dropdown and
            select the target framework you want ( 2.0, 3.0 or 3.5 ).
            >
            You will be prompted to close and reopen the project.
            When it reopens automatically, the change will have been effected.
            >
            For Visual C# WinForms projects, the Target Framework list is on the
            Application tab of the Project Designer.
            >
            Open your project, right-click your project's name in the Solution
            Explorer;
            select "Properties " from the context menu; select "Applicatio n" from the
            left-hand list;
            select the "Target Framework (all configurations) dropdown and
            select the target framework you want ( 2.0, 3.0 or 3.5 ).
            >
            re:
            !I'm creating a winform app, but I would think it's the same method.
            >
            It's not.
            >
            >
            >
            Juan T. Llibre, asp.net MVP
            asp.net faq : http://asp.net.do/faq/
            foros de asp.net, en español : http://asp.net.do/foros/
            =============== =============== ========
            "Cirene" <cirene@nowhere .comwrote in message
            news:eSDypdhqIH A.4928@TK2MSFTN GP04.phx.gbl...
            >How do I change an application to target the .NET 2.0 framework, NOT the
            >.NET 3 framework?
            >
            >I'm creating a winform app, but I would think it's the same method.
            >
            >The option to change doesn't show up in the properties page of my
            >project.
            >
            >
            >

            Comment

            • Juan T. Llibre

              #7
              Re: How change framework

              re:
              !Why is it that I target the 2.0 framework yet when my client is installing
              !the WinForm app it's trying to install the 3.5 framework (the version it used to be)?

              Do you still have any references to 3.5 assemblies ?

              For example :

              using System.Linq;





              Juan T. Llibre, asp.net MVP
              asp.net faq : http://asp.net.do/faq/
              foros de asp.net, en español : http://asp.net.do/foros/
              =============== =============== ========
              "Cirene" <cirene@nowhere .comwrote in message news:ueAmQ3kqIH A.1736@TK2MSFTN GP04.phx.gbl...
              Why is it that I target the 2.0 framework yet when my client is installing the WinForm app it's trying to install the
              3.5 framework (the version it used to be)?
              >
              I've verified the Adv Compiler Settings. They are set to 2.0.
              >
              Thanks.
              >
              "Juan T. Llibre" <nomailreplies@ nowhere.comwrot e in message news:OPEIA$hqIH A.1240@TK2MSFTN GP02.phx.gbl...
              >re:
              >!How do I change an application to target the .NET 2.0 framework, NOT the .NET 3 framework?
              >>
              >For Visual Basic WinForms projects, click the Compile tab and then click Advanced Compile Options.
              >The Target Framework list is in the Advanced Compiler Settings Dialog Box.
              >>
              >Open your project, right-click your project's name in the Solution Explorer;
              >select "Properties " from the context menu; select "Compile" from the left-hand list;
              >scroll down to the "Advanced Compile Options" button and click it;
              >select the "Target Framework (all configurations) dropdown and
              >select the target framework you want ( 2.0, 3.0 or 3.5 ).
              >>
              >You will be prompted to close and reopen the project.
              >When it reopens automatically, the change will have been effected.
              >>
              >For Visual C# WinForms projects, the Target Framework list is on the Application tab of the Project Designer.
              >>
              >Open your project, right-click your project's name in the Solution Explorer;
              >select "Properties " from the context menu; select "Applicatio n" from the left-hand list;
              >select the "Target Framework (all configurations) dropdown and
              >select the target framework you want ( 2.0, 3.0 or 3.5 ).
              >>
              >re:
              >!I'm creating a winform app, but I would think it's the same method.
              >>
              >It's not.
              >>
              >>
              >>
              >Juan T. Llibre, asp.net MVP
              >asp.net faq : http://asp.net.do/faq/
              >foros de asp.net, en español : http://asp.net.do/foros/
              >============== =============== =========
              >"Cirene" <cirene@nowhere .comwrote in message news:eSDypdhqIH A.4928@TK2MSFTN GP04.phx.gbl...
              >>How do I change an application to target the .NET 2.0 framework, NOT the .NET 3 framework?
              >>
              >>I'm creating a winform app, but I would think it's the same method.
              >>
              >>The option to change doesn't show up in the properties page of my project.
              >>
              >>
              >>
              >
              >

              Comment

              • Cirene

                #8
                Re: How change framework

                Thanks Juan. There was another option that I had to uncheck in the
                properties of the project. :)

                "Juan T. Llibre" <nomailreplies@ nowhere.comwrot e in message
                news:OZZ4NIlqIH A.2292@TK2MSFTN GP03.phx.gbl...
                re:
                !Why is it that I target the 2.0 framework yet when my client is
                installing
                !the WinForm app it's trying to install the 3.5 framework (the version
                it used to be)?
                >
                Do you still have any references to 3.5 assemblies ?
                >
                For example :
                >
                using System.Linq;
                >
                >
                >
                >
                >
                Juan T. Llibre, asp.net MVP
                asp.net faq : http://asp.net.do/faq/
                foros de asp.net, en español : http://asp.net.do/foros/
                =============== =============== ========
                "Cirene" <cirene@nowhere .comwrote in message
                news:ueAmQ3kqIH A.1736@TK2MSFTN GP04.phx.gbl...
                >Why is it that I target the 2.0 framework yet when my client is
                >installing the WinForm app it's trying to install the 3.5 framework (the
                >version it used to be)?
                >>
                >I've verified the Adv Compiler Settings. They are set to 2.0.
                >>
                >Thanks.
                >>
                >"Juan T. Llibre" <nomailreplies@ nowhere.comwrot e in message
                >news:OPEIA$hqI HA.1240@TK2MSFT NGP02.phx.gbl.. .
                >>re:
                >>!How do I change an application to target the .NET 2.0 framework, NOT
                >>the .NET 3 framework?
                >>>
                >>For Visual Basic WinForms projects, click the Compile tab and then click
                >>Advanced Compile Options.
                >>The Target Framework list is in the Advanced Compiler Settings Dialog
                >>Box.
                >>>
                >>Open your project, right-click your project's name in the Solution
                >>Explorer;
                >>select "Properties " from the context menu; select "Compile" from the
                >>left-hand list;
                >>scroll down to the "Advanced Compile Options" button and click it;
                >>select the "Target Framework (all configurations) dropdown and
                >>select the target framework you want ( 2.0, 3.0 or 3.5 ).
                >>>
                >>You will be prompted to close and reopen the project.
                >>When it reopens automatically, the change will have been effected.
                >>>
                >>For Visual C# WinForms projects, the Target Framework list is on the
                >>Application tab of the Project Designer.
                >>>
                >>Open your project, right-click your project's name in the Solution
                >>Explorer;
                >>select "Properties " from the context menu; select "Applicatio n" from the
                >>left-hand list;
                >>select the "Target Framework (all configurations) dropdown and
                >>select the target framework you want ( 2.0, 3.0 or 3.5 ).
                >>>
                >>re:
                >>!I'm creating a winform app, but I would think it's the same method.
                >>>
                >>It's not.
                >>>
                >>>
                >>>
                >>Juan T. Llibre, asp.net MVP
                >>asp.net faq : http://asp.net.do/faq/
                >>foros de asp.net, en español : http://asp.net.do/foros/
                >>============= =============== ==========
                >>"Cirene" <cirene@nowhere .comwrote in message
                >>news:eSDypdhq IHA.4928@TK2MSF TNGP04.phx.gbl. ..
                >>>How do I change an application to target the .NET 2.0 framework, NOT
                >>>the .NET 3 framework?
                >>>
                >>>I'm creating a winform app, but I would think it's the same method.
                >>>
                >>>The option to change doesn't show up in the properties page of my
                >>>project.
                >>>
                >>>
                >>>
                >>
                >>
                >
                >

                Comment

                Working...