gpt4 book ai didi

c# - Windows服务调试错误

转载 作者:太空宇宙 更新时间:2023-11-03 14:17:35 25 4
gpt4 key购买 nike

当我尝试执行工具-> 附加到进程并选择 Windows 服务时,我得到:

---------------------------
Microsoft Visual Studio
---------------------------
The following module was built either with optimizations enabled or without debug information:



C:\Program Files (x86)\MyProj\Service\myproj.dll



To debug this module, change its project build configuration to Debug mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option.
---------------------------
OK

当我执行以下操作时:

Tools -> options -> Debugging 并取消选中“Warn if no user code on launch”,错误出现但未命中调试器点。请提出解决方案。

谢谢

最佳答案

"Tools--->Options---->Debugging" 下取消选中 "Enable Just My Code(Managed Only)"

关于c# - Windows服务调试错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6254403/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com