您的位置:首页 > 运维架构

VS2010 compile error ( The operation could not be completed. No such interface supported)

2012-08-30 21:34 561 查看
Issue:

VS2010以前一直用命令


devenv.exe /rebuild release my.sln  /project "my.vcxproj" /ProjectConfig "MyReleaseConfig" /out "D:\out.txt"


编译程序,但升级到2010之后出现了编译错误


1>Error: The operation could not be completed. No such interface supported
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


  

Solution:

在/ProjectConfig 参数中加入platform (e.g. Win32)


devenv.exe /rebuild release my.sln  /project "my.vcxproj" /ProjectConfig "MyReleaseConfig|Win32" /out "D:\out.txt"

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐