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. C#
  4. Framework Version - using 2.0 instead of 3.5

Framework Version - using 2.0 instead of 3.5

Scheduled Pinned Locked Moved C#
csharpdotnetvisual-studiohelpquestion
12 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 chrisx51

    Hi, i am developing an application in Visual Studio 2008. My Destination Framework - Setting is set to ".Net Framework 2.0"; I do not need special functions of .Net 3.5 and I want the tool installed as quick and easy as possible. I am using the Built-In "Setup Project" to install my application. The problem now is that When only including .Net Framework 2.0 in my installation package, the installer says it need .Net Framework 3.5. How can this happen? If not really needed I want to keep using the 'old' Framwork 2.0. Regards, Chris

    J Offline
    J Offline
    jo H
    wrote on last edited by
    #2

    Check your project properties. What does the Application ->Target Framework say? If that still says .NET Framework 3.5, then you know why its not using 2.0

    C 1 Reply Last reply
    0
    • J jo H

      Check your project properties. What does the Application ->Target Framework say? If that still says .NET Framework 3.5, then you know why its not using 2.0

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

      This is the strange thing! I selected .Net Framework 2.0. But even in the begining when creating the setup Project it wants to include .Net Framework 3.5. I deselected 3.5 and selected 2.0. On another machine where i tried the setup process, a message told me that 3.5 is needed and can be downloaded online.

      M J 2 Replies Last reply
      0
      • C chrisx51

        This is the strange thing! I selected .Net Framework 2.0. But even in the begining when creating the setup Project it wants to include .Net Framework 3.5. I deselected 3.5 and selected 2.0. On another machine where i tried the setup process, a message told me that 3.5 is needed and can be downloaded online.

        M Offline
        M Offline
        mypicturefaded
        wrote on last edited by
        #4

        Right click the setup solution on the solution explorer. At the bottom there is a "prerequisite" button. Make sure that the 3.5 Framework and 3.5 Framework SP1 are deselected. Maybe that will fix it.

        C 1 Reply Last reply
        0
        • M mypicturefaded

          Right click the setup solution on the solution explorer. At the bottom there is a "prerequisite" button. Make sure that the 3.5 Framework and 3.5 Framework SP1 are deselected. Maybe that will fix it.

          C Offline
          C Offline
          chrisx51
          wrote on last edited by
          #5

          This is where i delesected .NetFramwork 3.5 and only selected .NetFramwork 2.0.

          J 1 Reply Last reply
          0
          • C chrisx51

            This is where i delesected .NetFramwork 3.5 and only selected .NetFramwork 2.0.

            J Offline
            J Offline
            jo H
            wrote on last edited by
            #6

            Are you using any features that are only available in 3.5? LINQ for instance

            C 1 Reply Last reply
            0
            • J jo H

              Are you using any features that are only available in 3.5? LINQ for instance

              C Offline
              C Offline
              chrisx51
              wrote on last edited by
              #7

              Not to my knowledge. I am not using LINQ. Is there a possibility to check what framework is needed; and because of what? I thought Visual Studio would tell me when it needs 3.5 to compile...

              1 Reply Last reply
              0
              • C chrisx51

                This is the strange thing! I selected .Net Framework 2.0. But even in the begining when creating the setup Project it wants to include .Net Framework 3.5. I deselected 3.5 and selected 2.0. On another machine where i tried the setup process, a message told me that 3.5 is needed and can be downloaded online.

                J Offline
                J Offline
                jo H
                wrote on last edited by
                #8

                What is the original source project properties -> Application Framework setting?

                C 1 Reply Last reply
                0
                • J jo H

                  What is the original source project properties -> Application Framework setting?

                  C Offline
                  C Offline
                  chrisx51
                  wrote on last edited by
                  #9

                  Thats a good question. I suppose the one that created the project started with using Framework 3.5. Could this be the reason?

                  1 Reply Last reply
                  0
                  • C chrisx51

                    Hi, i am developing an application in Visual Studio 2008. My Destination Framework - Setting is set to ".Net Framework 2.0"; I do not need special functions of .Net 3.5 and I want the tool installed as quick and easy as possible. I am using the Built-In "Setup Project" to install my application. The problem now is that When only including .Net Framework 2.0 in my installation package, the installer says it need .Net Framework 3.5. How can this happen? If not really needed I want to keep using the 'old' Framwork 2.0. Regards, Chris

                    W Offline
                    W Offline
                    Wendelldh
                    wrote on last edited by
                    #10

                    Right click the setup project and select View->Lauch Conditions. Click to expand the Launch Conditions in the little tree, then select .NET Framework. In properties, you can select the Version.

                    C 1 Reply Last reply
                    0
                    • W Wendelldh

                      Right click the setup project and select View->Lauch Conditions. Click to expand the Launch Conditions in the little tree, then select .NET Framework. In properties, you can select the Version.

                      C Offline
                      C Offline
                      chrisx51
                      wrote on last edited by
                      #11

                      Thank you very much Wendelldh! You made my day! Now it works fine. Thanks to all the other helpers. Regards Chris

                      W 1 Reply Last reply
                      0
                      • C chrisx51

                        Thank you very much Wendelldh! You made my day! Now it works fine. Thanks to all the other helpers. Regards Chris

                        W Offline
                        W Offline
                        Wendelldh
                        wrote on last edited by
                        #12

                        Glad to finally find one I could answer. I always ask for help, but never get a chance to give a little. Have a great day.

                        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