Visual C++ 2010 :: Error MSB8009
Posted by Circuit Negma on March 31, 2011
Created By: Hussein Nosair
Date: 3/31/2011
IDE: Visual Studio 2010
Language: Visual C++ 2010
Project Platform: x64
Windows: Windows 7
Error:
Error MSB8009: .NET Framework 2.0/3.0/3.5 target the v90 platform toolset. Please make sure that Visual Studio 2008 is installed on the machine. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets
Cause:
Platform Toolset is set to v90
Solution:
Set Platform Toolset to v100
1. Select one of your project files. This will make sure that project is selected
2. Click Project > {name.of.your.project} Properties…
3. Expand Configuration Properties
4. Click on General
5. Locate Platform Toolset option on the right hand side
6. Click on the v90
7. Click on the drop down list arrow to your right
8. Select v100
9. Click OK to exit
marius said
Big thanks man 😀
Circuit Negma said
you are welcome
system637 said
awesome!! i fixed it~~yeah!!
SilentDoc said
I’m afraid this is not a solution. Changing the project toolset to v100 forces the target framework to 4.0, overriding the project file setting. The solution will compile and run, but it will not function on the 2.0 version of MS CLR, but in the newest.
Circuit Negma said
Thank you for your input. I did not release this is happening.
Do you have a solution to this one?
bvddz said
i have exactly same problem for windows xp sp3.visual studio 2010 professional.i was building a clr program when i got above error.plz reply.any help would be highly appreciated.
Circuit Negma said
check this post::
http://blogs.msdn.com/b/vcblog/archive/2009/12/08/c-native-multi-targeting.aspx
d2qw said
visual studio 2010 professional gave following errors
Error 1 error MSB8009: .NET Framework 2.0/3.0/3.5 target the v90 platform toolset.
Please make sure that Visual Studio 2008 is installed on the machine.
f:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets 292 6 Ex1_03
any help would bee highly appreciated.
platform:windows xp sp3
Circuit Negma said
try to set the target to V100 and not V90
d2qw said
also you wrote/said
Set Platform Toolset to v100
1. Select one of your project files. This will make sure that project is selected
2. Click Project > {name.of.your.project} Properties…
3. Expand Configuration Properties
4. Click on General
5. Locate Platform Toolset option on the right hand side
but i cant see Platform Toolset option on the right hand side .please any help woud be highly appreciated.
Circuit Negma said
xollad2k9 said
thanks a lot dude!