Studio 2008 & .Net 4.0
-
Does anyone know if it's possible program with .net 4.0 from Visual Studio 2008? If so, how? I've already installed .net 4.0 on my computer, but when I when to set the target framework under the project's properties, I can only go up to 3.5. Upgrading to Visual Studio 2010 is out of the question because this is a team porject on multiple machines, and we would have to get licences for all the machines the team is using when we already have licences for 2008.
-
Does anyone know if it's possible program with .net 4.0 from Visual Studio 2008? If so, how? I've already installed .net 4.0 on my computer, but when I when to set the target framework under the project's properties, I can only go up to 3.5. Upgrading to Visual Studio 2010 is out of the question because this is a team porject on multiple machines, and we would have to get licences for all the machines the team is using when we already have licences for 2008.
You can't target .NET 4 from Visual Studio 2008. What you could do is code your application up in VS2008 and then compile it manually using the .NET 4 compiler directly.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Does anyone know if it's possible program with .net 4.0 from Visual Studio 2008? If so, how? I've already installed .net 4.0 on my computer, but when I when to set the target framework under the project's properties, I can only go up to 3.5. Upgrading to Visual Studio 2010 is out of the question because this is a team porject on multiple machines, and we would have to get licences for all the machines the team is using when we already have licences for 2008.
Visual Studio 2008 can only target .NET Framework 3.5, 3.0, or 2.0. Visual Studio 2010 can target 2.0, 3.0, 3.5, 3.5 Client Profile, 4.0, or 4.0 Client Profile and includes an ability to target additional framework releases in the future. You can install Visual Studio 2010 side-by-side with Visual Studio 2008.
Scott Dorman
Microsoft® MVP - Visual C# | MCPD President - Tampa Bay IASA [Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
-
Does anyone know if it's possible program with .net 4.0 from Visual Studio 2008? If so, how? I've already installed .net 4.0 on my computer, but when I when to set the target framework under the project's properties, I can only go up to 3.5. Upgrading to Visual Studio 2010 is out of the question because this is a team porject on multiple machines, and we would have to get licences for all the machines the team is using when we already have licences for 2008.
No, it's not. You can either use VS2010 or the command line compilers without Visual Studio.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
Does anyone know if it's possible program with .net 4.0 from Visual Studio 2008? If so, how? I've already installed .net 4.0 on my computer, but when I when to set the target framework under the project's properties, I can only go up to 3.5. Upgrading to Visual Studio 2010 is out of the question because this is a team porject on multiple machines, and we would have to get licences for all the machines the team is using when we already have licences for 2008.
-
Visual Studio 2008 can only target .NET Framework 3.5, 3.0, or 2.0. Visual Studio 2010 can target 2.0, 3.0, 3.5, 3.5 Client Profile, 4.0, or 4.0 Client Profile and includes an ability to target additional framework releases in the future. You can install Visual Studio 2010 side-by-side with Visual Studio 2008.
Scott Dorman
Microsoft® MVP - Visual C# | MCPD President - Tampa Bay IASA [Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
Which makes me think it may be possible to hack VS 2008 to use .net 4. (Not that I want to, other than as an exercise, mind you.) :cool:
-
Which makes me think it may be possible to hack VS 2008 to use .net 4. (Not that I want to, other than as an exercise, mind you.) :cool:
I think it is a hard-coded list, which would mean it's not possible. In VS2010, when you click the link for "more Frameworks" it simply takes you to the download page for the .NET Framework.
Scott Dorman
Microsoft® MVP - Visual C# | MCPD President - Tampa Bay IASA [Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
-
I think it is a hard-coded list, which would mean it's not possible. In VS2010, when you click the link for "more Frameworks" it simply takes you to the download page for the .NET Framework.
Scott Dorman
Microsoft® MVP - Visual C# | MCPD President - Tampa Bay IASA [Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
Yes, but I had some minor success in trying to trick VS 2008 into thinking that v4 is actually v3.5. It looks like it's mostly a matter of configuring MSbuild.
-
Does anyone know if it's possible program with .net 4.0 from Visual Studio 2008? If so, how? I've already installed .net 4.0 on my computer, but when I when to set the target framework under the project's properties, I can only go up to 3.5. Upgrading to Visual Studio 2010 is out of the question because this is a team porject on multiple machines, and we would have to get licences for all the machines the team is using when we already have licences for 2008.
And you only get the new version of GACUTIL by installing VS 2010.