Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.net framework version

Status
Not open for further replies.

tek1ket

MIS
Jan 25, 2009
70
IR
i have these folders on C:\WINDOWS\Microsoft.NET\Framework

v1.0.3705
v1.1.4322
v2.0.50727
v3.0

as i know it means that i have these version of .net framework installed on my pc. when i start a new project in C# (windows application),it starts with the version v1.1.4322.
i want to change the default version of .net framework to v2.0.50727 or v3.0, how can i do that?
 
What version of visual studio are you using?

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
the default version of .net framework that every programmed is compiled is V1.1 , i want to work with V2.0
 
Yes, what version of Visual Studio are you using...

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
As far as I know you can't force 2003 to use version 2.0 of the framework easily (you'd need to use a later version targetted to use that framework, VS 2005 for example) to do that.

From what I've read it may be possible to comple the code using the the command line compiler (csc.exe) in the v2.0 folder as long as the code is compliant with v2.0.

Hope this helps

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Yep, can't force VS2003 to integrate on .net 2. If you don't have VS2005 or greater, or can't buy a licensed copy yet, you can use sharpDevelop (it's a free tool), or download VS2008 express from microsoft.

Maybe, you can only use VS2003 as an editor and compile the code via cmdline, but troublesome.
 
Maybe, you can only use VS2003 as an editor and compile the code via cmdline, but troublesome.
Agreed, I was even a little reluctant to add that to my post.

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top