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"

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2021-06-28
  • 2021-08-31
  • 2022-12-23
猜你喜欢
  • 2021-10-16
  • 2021-10-20
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
相关资源
相似解决方案