开发者

Can I create a .NET 4.0 application in Visual Stduio 2008?

开发者 https://www.devze.com 2023-01-10 08:06 出处:网络
I have a visual studio 2008. I have downloaded and installed a .NET 4.0 package. But I still can\'t create开发者_JAVA百科 a .net 4.0 applications. VS 2008 shows it can only create 2.0, 3.0, 3.5 appl

I have a visual studio 2008.

I have downloaded and installed a .NET 4.0 package.

But I still can't create开发者_JAVA百科 a .net 4.0 applications. VS 2008 shows it can only create 2.0, 3.0, 3.5 applications.


This is not possible. .NET 4.0 can only be used with Visual Studio 2010.

Visual Studio 2008 could target 2.0, 3.0 and 3.5 because there were all based on the same runtime and language (3.0 and 3.5 were essentially additional libraries and updated compilers). 4.0 however is a different runtime.


yes in VS 2008 you can't able to create .Net 4.0 applications.For that you need VS 2010


That's because VS2008 doesn't support .NET 4 as a target platform. For that you need either VS2010 or just use the compiler that ships with the framework (but then you will not have an IDE).

0

精彩评论

暂无评论...
验证码 换一张
取 消