Remove v3.5 reference?

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

    #1

    Remove v3.5 reference?

    How can I know what references I have used in my project? Is it those under
    "All Components" in Object Browser? How to remove them?
    I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
    changing TargetFramework to ".NET Framework 2.0" in Project Properties.
    Howerver, the installer still ask the user has to install 3.5 first.

  • Jon Skeet [C# MVP]

    #2
    Re: Remove v3.5 reference?

    On Jul 21, 4:31 pm, "Elliot" <elliot_barc... @hotmail.co.ukw rote:
    How can I know what references I have used in my project?
    Expand the "references " node in solution explorer.
    Is it those under "All Components" in Object Browser?
    Not sure - I don't use the Object Browser much.
    How to remove them?
    Select a reference and hit "Delete" IIRC.
    I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
    changing TargetFramework to ".NET Framework 2.0" in Project Properties.
    Howerver, the installer still ask the user has to install 3.5 first.
    Hmm... not sure why that is. I'm not terribly knowledgeable about
    installers.

    Jon

    Comment

    • christery@gmail.com

      #3
      Re: Remove v3.5 reference?

      On 21 Juli, 18:27, "Jon Skeet [C# MVP]" <sk...@pobox.co mwrote:
      On Jul 21, 4:31 pm, "Elliot" <elliot_barc... @hotmail.co.ukw rote:
      >
      How can I know what references I have used in my project?
      >
      Expand the "references " node in solution explorer.
      >
      Is it those under "All Components" in Object Browser?
      >
      Not sure - I don't use the Object Browser much.
      >
      How to remove them?
      >
      Select a reference and hit "Delete" IIRC.
      >
      Ehh, might be an idea to open the project file with notepad and delete
      the references that way... (If you cant do it from the IDE)



      //CY

      Comment

      • Elliot

        #4
        Re: Remove v3.5 reference?

        Even I remove those has runtime version 3.5, the installer also ask install
        3.5.


        "Jon Skeet [C# MVP]" <skeet@pobox.co mwrote in message
        news:bea2f534-e1f8-447c-b5fd-97cb49b3541e@e3 9g2000hsf.googl egroups.com...
        On Jul 21, 4:31 pm, "Elliot" <elliot_barc... @hotmail.co.ukw rote:
        >How can I know what references I have used in my project?
        >
        Expand the "references " node in solution explorer.
        >
        >Is it those under "All Components" in Object Browser?
        >
        Not sure - I don't use the Object Browser much.
        >
        >How to remove them?
        >
        Select a reference and hit "Delete" IIRC.
        >
        >I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
        >changing TargetFramework to ".NET Framework 2.0" in Project Properties.
        >Howerver, the installer still ask the user has to install 3.5 first.
        >
        Hmm... not sure why that is. I'm not terribly knowledgeable about
        installers.
        >
        Jon

        Comment

        • Elliot

          #5
          Re: Remove v3.5 reference?

          I discover a new thing.
          I made a new setup project without adding anything in it, the installer also
          ask user to install 3.5 in anvance.


          "Elliot" <elliot_barclay @hotmail.co.ukw rote in message
          news:10A02B4F-9397-44AF-9A1C-7B4246BC253E@mi crosoft.com...
          How can I know what references I have used in my project? Is it those
          under "All Components" in Object Browser? How to remove them?
          I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
          changing TargetFramework to ".NET Framework 2.0" in Project Properties.
          Howerver, the installer still ask the user has to install 3.5 first.

          Comment

          • =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=

            #6
            RE: Remove v3.5 reference?

            Is .Net 3.5 checked as a prerequisite in your setup project?

            "Elliot" wrote:
            How can I know what references I have used in my project? Is it those under
            "All Components" in Object Browser? How to remove them?
            I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
            changing TargetFramework to ".NET Framework 2.0" in Project Properties.
            Howerver, the installer still ask the user has to install 3.5 first.
            >
            >

            Comment

            • Elliot

              #7
              Re: Remove v3.5 reference?

              No, I unchecked 3.5(checked in default) and checked 2.0.


              "Family Tree Mike" <FamilyTreeMike @discussions.mi crosoft.comwrot e in
              message news:33442840-20AB-4412-B065-7FE0CCB6B532@mi crosoft.com...
              Is .Net 3.5 checked as a prerequisite in your setup project?
              >
              "Elliot" wrote:
              >
              >How can I know what references I have used in my project? Is it those
              >under
              >"All Components" in Object Browser? How to remove them?
              >I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
              >changing TargetFramework to ".NET Framework 2.0" in Project Properties.
              >Howerver, the installer still ask the user has to install 3.5 first.
              >>
              >>

              Comment

              • Elliot

                #8
                Re: Remove v3.5 reference?

                Is it that one?

                "ExternalPersis tence"
                {
                "LaunchConditio n"
                {
                "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_ 09F164BB6F534AE 3B0FB7ABC30979D F5"
                {
                "Name" = "8:.NET Framework"
                "Message" = "8:[VSDNETMSG]"
                "Version" = "8:3.5.2102 2"
                "AllowLaterVers ions" = "11:FALSE"
                "InstallUrl " =
                "8:http://go.microsoft.co m/fwlink/?LinkId=76617"
                }
                }
                }



                <christery@gmai l.comwrote in message
                news:01e2cc7f-a7e2-4792-aada-248f2bb18da2@e3 9g2000hsf.googl egroups.com...
                On 21 Juli, 18:27, "Jon Skeet [C# MVP]" <sk...@pobox.co mwrote:
                >On Jul 21, 4:31 pm, "Elliot" <elliot_barc... @hotmail.co.ukw rote:
                >>
                How can I know what references I have used in my project?
                >>
                >Expand the "references " node in solution explorer.
                >>
                Is it those under "All Components" in Object Browser?
                >>
                >Not sure - I don't use the Object Browser much.
                >>
                How to remove them?
                >>
                >Select a reference and hit "Delete" IIRC.
                >>
                >
                Ehh, might be an idea to open the project file with notepad and delete
                the references that way... (If you cant do it from the IDE)
                >
                >
                >
                //CY
                >

                Comment

                • Elliot

                  #9
                  Re: Remove v3.5 reference?

                  Will it take effect?
                  View->Editor->Launch conditions
                  Select .NET Framework & change version to 2.0.50727?


                  "Elliot" <elliot_barclay @hotmail.co.ukw rote in message
                  news:CCA48780-B6B9-46A5-8DF9-246A0D711C0E@mi crosoft.com...
                  Is it that one?
                  >
                  "ExternalPersis tence"
                  {
                  "LaunchConditio n"
                  {
                  >
                  "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_ 09F164BB6F534AE 3B0FB7ABC30979D F5"
                  {
                  "Name" = "8:.NET Framework"
                  "Message" = "8:[VSDNETMSG]"
                  "Version" = "8:3.5.2102 2"
                  "AllowLaterVers ions" = "11:FALSE"
                  "InstallUrl " =
                  "8:http://go.microsoft.co m/fwlink/?LinkId=76617"
                  }
                  }
                  }
                  >
                  >
                  >
                  <christery@gmai l.comwrote in message
                  news:01e2cc7f-a7e2-4792-aada-248f2bb18da2@e3 9g2000hsf.googl egroups.com...
                  >On 21 Juli, 18:27, "Jon Skeet [C# MVP]" <sk...@pobox.co mwrote:
                  >>On Jul 21, 4:31 pm, "Elliot" <elliot_barc... @hotmail.co.ukw rote:
                  >>>
                  >How can I know what references I have used in my project?
                  >>>
                  >>Expand the "references " node in solution explorer.
                  >>>
                  >Is it those under "All Components" in Object Browser?
                  >>>
                  >>Not sure - I don't use the Object Browser much.
                  >>>
                  >How to remove them?
                  >>>
                  >>Select a reference and hit "Delete" IIRC.
                  >>>
                  >>
                  >Ehh, might be an idea to open the project file with notepad and delete
                  >the references that way... (If you cant do it from the IDE)
                  >>
                  >>
                  >>
                  >//CY
                  >>

                  Comment

                  • Jon Skeet [C# MVP]

                    #10
                    Re: Remove v3.5 reference?

                    Elliot <elliot_barclay @hotmail.co.ukw rote:
                    Even I remove those has runtime version 3.5, the installer also ask install
                    3.5.
                    Have you looked at the properties for the installer?

                    --
                    Jon Skeet - <skeet@pobox.co m>
                    Web site: http://www.pobox.com/~skeet
                    Blog: http://www.msmvps.com/jon.skeet
                    C# in Depth: http://csharpindepth.com

                    Comment

                    • Elliot

                      #11
                      Re: Remove v3.5 reference?

                      Yes, but nothing refer to .NET Framework.


                      "Jon Skeet [C# MVP]" <skeet@pobox.co mwrote in message
                      news:MPG.22eee6 854fc86918e49@m snews.microsoft .com...
                      Elliot <elliot_barclay @hotmail.co.ukw rote:
                      >Even I remove those has runtime version 3.5, the installer also ask
                      >install
                      >3.5.
                      >
                      Have you looked at the properties for the installer?
                      >
                      --
                      Jon Skeet - <skeet@pobox.co m>
                      Web site: http://www.pobox.com/~skeet
                      Blog: http://www.msmvps.com/jon.skeet
                      C# in Depth: http://csharpindepth.com

                      Comment

                      • Joern Schou-Rode

                        #12
                        Re: Remove v3.5 reference?

                        On Mon, 21 Jul 2008 20:27:39 +0200, Elliot <elliot_barclay @hotmail.co.uk>
                        wrote:
                        Will it take effect?
                        View->Editor->Launch conditions
                        Select .NET Framework & change version to 2.0.50727?
                        I have been fighting with the exact same isuue earlier today, and found
                        the solution to be two-fold:

                        1. View Editor Launch Conditions, select .NET Framework, set Version =
                        2.0.50727 in the property window.

                        2. Right-click setup project Properties, click the "Prerequisites. .."
                        button, check ".NET Framework 2.0 (x86)", uncheck ".NET Framework 3.5".

                        Hope this helps :)

                        --
                        Joern Schou-Rode

                        Comment

                        • Elliot

                          #13
                          Re: Remove v3.5 reference?

                          Yes, it works finely now.
                          Thanks for anyone showing your ideas.



                          "Joern Schou-Rode" <jsr@malamute.d kwrote in message
                          news:op.uenpg3v u31zpn8@marvin. ..
                          On Mon, 21 Jul 2008 20:27:39 +0200, Elliot <elliot_barclay @hotmail.co.uk>
                          wrote:
                          >
                          >Will it take effect?
                          >View->Editor->Launch conditions
                          >Select .NET Framework & change version to 2.0.50727?
                          >
                          I have been fighting with the exact same isuue earlier today, and found
                          the solution to be two-fold:
                          >
                          1. View Editor Launch Conditions, select .NET Framework, set Version =
                          2.0.50727 in the property window.
                          >
                          2. Right-click setup project Properties, click the "Prerequisites. .."
                          button, check ".NET Framework 2.0 (x86)", uncheck ".NET Framework 3.5".
                          >
                          Hope this helps :)
                          >
                          --
                          Joern Schou-Rode
                          http://malamute.dk/

                          Comment

                          • VB.Net

                            #14
                            Re: Remove v3.5 reference?

                            Also check the GAC.


                            "Elliot" <elliot_barclay @hotmail.co.ukw rote in message
                            news:10A02B4F-9397-44AF-9A1C-7B4246BC253E@mi crosoft.com...
                            How can I know what references I have used in my project? Is it those
                            under "All Components" in Object Browser? How to remove them?
                            I am going to downgrade my project from .NET Framework 3.5 to 2.0 by
                            changing TargetFramework to ".NET Framework 2.0" in Project Properties.
                            Howerver, the installer still ask the user has to install 3.5 first.

                            Comment

                            Working...