I have VS2005 and VS2008 installed on my pc.
I have .NET Framework 2.0 SP2, 3.0, 3.0 SP2, and 3.5 SP1
I am able to selection which Framework to use in VS 2008 from the drop down window, but I'm curious how I set which framework I want to target a project for in VS 2005. I obviously dont want to uninstall frameworks because I would still like to use VS 2008 for various target frameworks.
What I'm trying to accomplish is using VS2005 but only using available assemblies from 2.0. But at the same time use VS2008 and whatever framework I want.
I tried looking for the answer already on SO, so if its a dup, just point me to the link. Thanks
EDIT: Ok, based on what other people are mentioning and me digging a little deeper, it looks like it might be a specific version of the 2.0 framework. I'm looking at the WaitHandle WaitOne function, and it was causing our appliation to crash on the customers PC's who claimed they had 2.0 installed. We are calling handle.WaitOne(0), which if you look at the 2.0 specification, it doesnt show that a WaitOne function with one parameter of an int. However if I navigate to the definition, it shows up as v2.0.50727 and it compiles fine. So I guess I need to target the specific framework (or make sure the customer has a newer .NET Framework installed)?
Also, do they have updated online msdn docs somewhere for the new versions?