命令如下:devenv 解决方案文件.sln /build [ 解决方案配置 ] [ /project 项目名称或文件 [ /projectconfig 名称 ] ]

1.编译整个解决方案: devenv YourSolution.sln /Build

2.以 Release|Any CPU 配置重新编译整个解决方案: devenv YourSolution.sln /Rebuild "Release|Any CPU"

3.编译指定解决方案中的某一个项目:devenv C:\demo.sln /build Release /project Project1\Project1.csproj

 

相关文章:

  • 2022-01-18
  • 2021-12-12
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
猜你喜欢
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-11-12
  • 2021-10-23
  • 2022-12-23
相关资源
相似解决方案