Click here to Skip to main content
15,887,453 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to add .net 3.5 to visual studio 2005
Posted
Updated 26-Mar-11 22:34pm
v2

Since VS 2005 is designed for .Net framework 2, you should add the necessary references to system libraries manually.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 27-Mar-11 15:35pm    
You are right, my 5. Nevertheless, there are some ways to work with newer version of the Framework in this situation. Please see my Answer.
--SA
You still can use Framework 3.5 or 4.0 if you only have Visual Studio. The thing is: the build uses C# compiler and MSBuild which comes free with redistributable framework.

You can develop the code with Visual Studio 2005 and build it with v.2.0. Then, you can locate MSBuild and csc.exe (C# compiler), read description and use one or another for manual re-build of your project. You can also manually edit your *.csproj files (good to have a sample of a new version; you can find a lot in CodeProject) and increase the target platforms of the project.

Unfortunately, you won't be able to use new features of the platform unless you do all changes manually.

This is the alternative: use Open Source SharpDevelop: http://en.wikipedia.org/wiki/SharpDevelop[^]. It will allow you to use Framework up to v.4.0.

—SA
 
Share this answer
 
Comments
Wendelius 27-Mar-11 16:08pm    
That was an interesting link, my 5. One option neither of us pointed out :) : http://www.microsoft.com/express/Downloads/
Sergey Alexandrovich Kryukov 27-Mar-11 16:25pm    
Thank you, Mika.
I remember that, but also failed to mention. You know what, make it an alternative Answer and notify me here -- I'll vote another 5 for you.
--SA
Sergey Alexandrovich Kryukov 27-Mar-11 16:27pm    
And also look at this: http://www.codeproject.com/Answers/173688/answer-the-question.aspx (see my Answer)
There is a converter down to 2005 (and can be anything else).
--SA
You also have the possibility to use free version of Visual Studio: Visual C# Express. It's downloadable from http://www.microsoft.com/express/Downloads/[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 27-Mar-11 20:20pm    
As I say, it deserves 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900