gpt4 book ai didi

c# - VS 2017 : The security debugging option is set but it requires the Visual Studio hosting process which is unavailable

转载 作者:IT王子 更新时间:2023-10-29 04:01:25 43 4
gpt4 key购买 nike

我的解决方案(包含十几个项目)在 Visual Studio 2013 中完美运行。

在 Visual Studio 2017 中,我可以打开解决方案并进行编译。

但如果我开始调试,我会系统地收到此错误消息:

The security debugging option is set but it requires the Visual Studio hosting process which is unavailable in this debugging configuration.The security debugging option will be disabled. This option may be re-enabled in the Security property page. The debugging session will continue without security debugging

enter image description here

然后,什么也没有发生。什么都没有开始。

有关信息,这是一个具有多个启动项目(包括一个 WPF 项目)的解决方案。

编辑:通过在项目 -> 属性 -> 安全选项卡下禁用选项“启用 ClickOnce 安全设置”,它可以工作。

最佳答案

This solved my issue :

Most likely, you have accidentally gotten the bit flipped to debug with ClickOnce security settings. Can you get the project properties for your app, go to the "Security" tab, and make sure to uncheck "Enable ClickOnce Security settings" or check the "This is a full trust application" radio button.

关于c# - VS 2017 : The security debugging option is set but it requires the Visual Studio hosting process which is unavailable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44821734/

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