How do I include .NET 4.5 framework in visual studio 2010?
-
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[^]
-
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[^]
-
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[^]
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 -
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.
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.
-
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 KreskowiakThank you for sharing the links.
-
Thank you for sharing the links.