0

VS 2010 comes with .NET Framework 4.0, let's say I want to use a new ability that is in C# 4.0, so I think if I just go and download .NET Framework 4.0 I should still be able to use that ability with VS 2008? right? it is a little confusing for me . thanks

0

3 Answers 3

3

Here are the release date of every version of C# and the .NET Framework, and with which version of Visual Studio they were released.

You can see that .NET Framework 4.0 has been released with Visual Studio 2010. So you won't be able to target .NET 4.0 with VS 2008 since it does not know about it.

1

You will need to use Visual Studio 2010 and install .NET 4 if you want to use all the new C# 4.0 features. Some features do work - see this question for more information.

Visual Studio 2008 doesn't know about targeting the .NET 4 framework so you can't use that.

MSDN Forum reference

1

No, Microsoft. dont allow you to use its .Net 4.0 in VS2008 as it is for. Net 3.5. You need to have VS2010 to use. Net 4.0. Because there are certain tools which are in VS2010 to work with that framework and VS2008 dont have them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.