Can’t build VC10 project by MSBuild

 

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.

image

After some google, I get the reason for this:

image

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

Guess you like

Origin blog.csdn.net/weixin_34055787/article/details/93492868