I tried to installed visual studio 2010 and it installed .net 4 only. i want to add .net 3.5 to the visual studio. I have installed the 3.5 and now i'm having problem with add .net 3.5 to the new visual studio. how can i add 3.5 to vs 2010?
问题:
回答1:
You don't need to "add" .NET 3.5 to VS2010. When you create a new project, you just specify which version of .NET you want to target. (You can change this later, too, in project properties.)
回答2:
Try this link: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en
It is the download package for .NET 3.5. Maybe you don't have 3.5 installed.
Also read Jon's answer.
EDIT: Updated link to point to .NET 3.5 SP 1 instead as Hans points out.
回答3:
Ok, so now I understand what happend when installing on Visual Studio 2008. Apparently the 3.5 framework is not installed by default (at least they do not install it by default here where I work. VS2010 does not install 3.5 for you - you have to install it using Windows Server Manager. Once you do then 3.5 will install and you will immediately be able to retarget your projects in VS.
回答4:
.NET FRAMEWORK 4 contains all precedents versions. Just target your project in properties of your application in VS2010