gpt4 book ai didi

c# - 尝试在 VS2013 中以 Debug模式编辑代码时出错

转载 作者:可可西里 更新时间:2023-11-01 09:06:17 26 4
gpt4 key购买 nike

我是一名 C# 程序员,最近我安装了 Visual Studio 2013。问题是当我设置断点或遇到错误并尝试在调试时编辑代码时出现此错误但我找不到在 Google 上搜索同样的错误。

Changes are not allowed for this module as it was not built for changes while debugging or the target .NET runtime version does not support it

我还尝试检查 Tools -> Options -> Debugging -> Edit and Continue 上的选项,但没有帮助。

知道问题出在哪里吗?

最佳答案

在 Visual Studio 2013 中运行时编辑 C# 程序:

  1. 转到“项目”、“属性”、“构建”。
  2. 设置平台目标:x86
  3. 禁用“优化代码”
  4. 设置高级,调试信息:完整

关于c# - 尝试在 VS2013 中以 Debug模式编辑代码时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23532460/

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