visual-studio - 使用来自 power-shell 脚本的 Visual Studio 命令提示符运行批处理文件
问题描述
我想在 power-shell 脚本中使用 Visual Studio 命令提示符运行批处理文件。现在 build.bat 文件在我的 power-shell 脚本中使用命令提示符运行,例如“cmd /c”build.bat”。
我想使用 Visual Studio 命令提示符来运行它,而不是 power-shell 脚本中的常规命令提示符。有人可以告诉我该怎么做吗?
解决方案
推荐阅读
- ios - StackView(ios)中的视图未添加底部边框
- python - gzip -t 循环运行脚本
- javascript - 用对象反应状态
- c - 为 c 中的 char 分配负值打印“?” 在 macOS 上
- php - 在 CentOS Linux 上以二进制模式写入的疯狂 PHP fopen / fwrite / file_put_contents / move_uploaded_file 错误将 0x0D 添加到每个 0x0A
- python - 了解嵌套装饰器缺少所需的位置参数错误
- c# - 动态换出或切换控件的可见性
- javascript - React-无法使用容器组件中定义的功能从子组件更改状态
- cassandra - 了解 Cassandra 池选项(setCoreConnectionsPerHost 和 setMaxConnectionsPerHost)?
- mips - 为什么我以更好的格式更改代码但在 QtSpim 中运行错误