Targeting .NET Framework 4.0 with Visual Studio 2008
-
Wednesday, July 21, 2010 12:04 PM
Hi everybody,
I am not able to target the .NET Framework 4.0 with Visual Studio 2008. I just installed the .NET Framework 4.0 client profile and extended. Do have I to install something else ?
Thanks for helping me.
Best regards.
Matteo
All Replies
-
Wednesday, July 21, 2010 4:23 PM
Yes. You'll need to install Visual Studio 2010.
http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/09a309a0-a8fc-407d-9fb5-7e1c1a26d397
You can download the Express Edition of VS 2010 for free here:
http://www.microsoft.com/express/Downloads/
-
Wednesday, July 21, 2010 4:27 PM
Not really cool... I am trying to install a software on a Windows Seven machine that is built for the .NET Framework 2.0. I haven't been able to install the 2.0 on the Seven machine. So I have to develop again for the 4.0 one.
Maybe I can keep my Visual Studio 2008 and make the 2.0 run on the Seven machine ?
Thanks for your response !
Matteo
-
Wednesday, July 21, 2010 11:51 PM
Matteo, you could not install .NET Framework 2.0 on your Windows 7 machine because .NET 2.0, 3.0 and 3.5 are an integral part of the Win 7 OS. You already have it.
Yes, you can install and use Visual Studio 2008 on Windows 7 (either 32 or 64 bit) with no issues. I have seven classrooms of PC's with Win 7/VS 2008/VS 2010 on them in use every day.
When you install VS 2008 on Win 7, the installer will find .NET 2.0, 3.0 and 3.5 already there and automatically bypass those steps in the VS 2008 install.
- Edited by pvdg42MVP Wednesday, July 21, 2010 11:52 PM fix typo
- Marked As Answer by joujoukinder Saturday, July 24, 2010 11:46 AM
-
Thursday, July 22, 2010 11:01 AMModerator
Hi Matteo,
Thank you for your post.
Visual Studio 2008 does not have access to various new project and item templates and tools that support .NET Framework 4.0. If developers want to use some new features come along with .NET 4.0 which would be necessary in Visual Studio 2010 because Visual Studio 2010 compiles these new features.
As Pvdg42 mentioned, I think that VS 2010 is a better choice.
For Windows 7, .NET Framework 3.5 with SP1 is shipped with it as one of OS component.
For .NET Framework 3.5 with SP1, it includes .NET 2.0 with SP2 and .NET 3.0 with SP2 as prerequisite. Thus, we don't need to manually install it.
We can use Verification Tool to verify .Net Framework 2.0 to check whether it is well installed on our machines.
Hope this helps!
Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer by joujoukinder Saturday, July 24, 2010 11:46 AM
-
Saturday, July 24, 2010 11:46 AMThank you all for your answers ! I will install VS2010 very soon then !!!
Matteo -
Monday, July 26, 2010 3:44 AMModeratorHi Matteo,
You're welcome.
Have a nice week!
Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

