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. Visual Studio
  4. How do I include .NET 4.5 framework in visual studio 2010?

How do I include .NET 4.5 framework in visual studio 2010?

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studioquestionannouncementdotnet
6 Posts 3 Posters 7 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.
  • G Offline
    G Offline
    Gibran Castillo
    wrote on last edited by
    #1

    I have a C# out of the box standalone application (Thick client) that runs in the .NET 3.5 Framework. I customize this application by creating two C# application libraries using Visual Studio 2010. I am upgrading this application to latest release and version which runs in the .NET 4.5 Framework. I need to be able to compile the customize C# application libraries using Visual Studio 2010 with .NET 4.5 Framework but I am not able to set up and include .NET 4.5 Framework with Visual Studio 2010. Do any of you know how to do this and if it is possible? According my research it is not possible to set up and include .NET 4.5 Framework in Visual Studio 2010 so I can compiler my applications with .NET 4.5 Framework using VS 2010; to do that I would need to use Visual Studio 2012 or higher. See link below .NET Framework Versions and Dependencies[^]

    L D 2 Replies Last reply
    0
    • G Gibran Castillo

      I have a C# out of the box standalone application (Thick client) that runs in the .NET 3.5 Framework. I customize this application by creating two C# application libraries using Visual Studio 2010. I am upgrading this application to latest release and version which runs in the .NET 4.5 Framework. I need to be able to compile the customize C# application libraries using Visual Studio 2010 with .NET 4.5 Framework but I am not able to set up and include .NET 4.5 Framework with Visual Studio 2010. Do any of you know how to do this and if it is possible? According my research it is not possible to set up and include .NET 4.5 Framework in Visual Studio 2010 so I can compiler my applications with .NET 4.5 Framework using VS 2010; to do that I would need to use Visual Studio 2012 or higher. See link below .NET Framework Versions and Dependencies[^]

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Then you know the answer. However it may be worth installing .NET 4.5 to see if VS 2010 will allow you to use it.

      G 1 Reply Last reply
      0
      • G Gibran Castillo

        I have a C# out of the box standalone application (Thick client) that runs in the .NET 3.5 Framework. I customize this application by creating two C# application libraries using Visual Studio 2010. I am upgrading this application to latest release and version which runs in the .NET 4.5 Framework. I need to be able to compile the customize C# application libraries using Visual Studio 2010 with .NET 4.5 Framework but I am not able to set up and include .NET 4.5 Framework with Visual Studio 2010. Do any of you know how to do this and if it is possible? According my research it is not possible to set up and include .NET 4.5 Framework in Visual Studio 2010 so I can compiler my applications with .NET 4.5 Framework using VS 2010; to do that I would need to use Visual Studio 2012 or higher. See link below .NET Framework Versions and Dependencies[^]

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        The answer is easy. You don't. There is no way to get it to work. You upgrade to VS2012 or above.

        A guide to posting questions on CodeProject

        Click this: Asking questions is a skill. Seriously, do it.
        Dave Kreskowiak

        G 1 Reply Last reply
        0
        • L Lost User

          Then you know the answer. However it may be worth installing .NET 4.5 to see if VS 2010 will allow you to use it.

          G Offline
          G Offline
          Gibran Castillo
          wrote on last edited by
          #4

          I found the same question in StakcOverflow Targeting .NET Framework 4.5 via Visual Studio 2010 - Stack Overflow[^] The last post in this thread makes the following recommendation:

          From another search. Worked for me!

          "You can use Visual Studio 2010 and it does support it, provided your OS supports .NET 4.5.

          Right click on your solution to add a reference (as you do). When the dialog box shows, select browse, then navigate to the following folder:

          C:\Program Files(x86)\Reference Assemblies\Microsoft\Framework\.Net Framework\4.5

          You will find it there."

          This is worth a try.

          1 Reply Last reply
          0
          • D Dave Kreskowiak

            The answer is easy. You don't. There is no way to get it to work. You upgrade to VS2012 or above.

            A guide to posting questions on CodeProject

            Click this: Asking questions is a skill. Seriously, do it.
            Dave Kreskowiak

            G Offline
            G Offline
            Gibran Castillo
            wrote on last edited by
            #5

            Thank you for sharing the links.

            L 1 Reply Last reply
            0
            • G Gibran Castillo

              Thank you for sharing the links.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              You already provided that link; see the first answer to the SO page you linked to. The IDE does not support compiling in a future version.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

              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