Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我如何在安装程序项目中调试自定义安装程序类。我的自定义安装程序类和安装程序存在于同一解决方案中。
问候, 苛刻的苏曼
您可以尝试在要调试的 Installer 类方法中插入 Debugger.Break() ,这将触发调试会话。
或者您可以尝试将调试器附加到 msiexec.exe