【问题标题】:How run a visual studio debug of a uwp proj from powershell?如何从 powershell 运行 uwp 项目的 Visual Studio 调试?
【发布时间】:2019-08-14 12:52:31
【问题描述】:

我想从 powershell 以调试模式运行 Visual Studio uwp proj 我知道如何从外部命令启动我的 uwp 应用程序

启动 shell:AppsFolder\packageName 参数

但我想从 Visual Studio 中执行此操作,例如在调试模式下。 请问你知道怎么做吗?

【问题讨论】:

  • 您到底想完成什么?你想运行带有调试器的 UWP 吗? (所以你可以捕捉崩溃等?)
  • 我想单击打开的 Visual Studio 的调试图标,但如果不可能,是的,我想运行带有调试器的 UWP
  • 感谢分享您的解决方案。您可以将其标记为答案,这可能对其他社区成员有益。他们可以更轻松地搜索解决方案。

标签: visual-studio powershell cmd uwp msbuild


【解决方案1】:

来自 sln 文件夹

& "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7`\IDE\devenv.exe"  /command "Debug.Start" my_solution.sln

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-04-04
    • 1970-01-01
    • 1970-01-01
    • 2018-05-28
    相关资源
    最近更新 更多