简体   繁体   English

从VSIX命令启动解决方案构建

[英]Start solution build from VSIX command

I'm creating a Visual Studio Extension and want to create a command to build the current solution and start debugging afterwards, so that I have to press one button and wait instead of starting build, waiting and then run. 我正在创建一个Visual Studio扩展,并希望创建一个命令来构建当前的解决方案并随后开始调试,因此我必须按下一个按钮并等待而不是开始构建,然后再运行。

How can I call Visual Studio's default commands from my command? 如何从命令中调用Visual Studio的默认命令?

DTE.ExecuteCommand("Debug.Start");一样调用ExecuteCommand DTE.ExecuteCommand("Debug.Start");

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 有没有一种方法可以通过vsix扩展来检测VS 2012中是否存在开放式解决方案? - Is there a way to detect whether or not there is an opened solution in VS 2012 from a vsix extension? 从命令行在解决方案中仅构建一个项目 - Build only one project in a solution from command line 可以从命令行编译和测试解决方案的构建脚本 - a build script that can compile and test the solution from the command line 在命令行中使用 MSBuild 生成 VSIX 不会出错,不会生成 VSIX - 但 IDE 会出错。 如何调试? - Using MSBuild at command-line to produce VSIX does not error, does not build VSIX - but IDE does. How to debug? VSIX / Roslyn-如何监视从MyClass派生的任何类的开放式解决方案 - VSIX / Roslyn - How do I monitor open solution for any classes derived from MyClass 在vsix项目中访问当前打开的解决方案 - Acessing currently opened solution in a vsix project VSIX 检测已创建解决方案 - VSIX Detect that a solution has been created 在解决方案中为 C++ 项目创建 VSIX 扩展 - Creating VSIX extension for a C++ project in a solution 运行命令提示符命令以在Visual Studio中启动解决方案 - run a command prompt command to start a solution in Visual Studio 命令行生成解决方案与Visual Studio 2012生成 - Command line build solution vs Visual Studio 2012 build
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM