I have a VC10 project, and I want to build it by MSBuild from the command line. But it failed on my machine, see below figure for the error.
After some google, I get the reason for this:
As you can see, the Framework Version here in my environment is 2.0.50727. This is the cause of my problem.
Reproduced in: https: //www.cnblogs.com/jalenwang/archive/2011/12/26/2301687.html