gpt4 book ai didi

c# - 没有逻辑空间来创建更多用户字符串

转载 作者:行者123 更新时间:2023-11-30 18:46:33 26 4
gpt4 key购买 nike

尝试在 Visual Studio 中编译和调试 C# 代码时,我遇到了这个错误——“没有逻辑空间来创建更多用户字符串”。实际上,代码编译正确,但在尝试创建可执行文件时崩溃并出现此错误。

我看过C# compile error: "No logical space left to create more user strings"EF 4.3.1 IMigrationMetadata.Target strings are causing "No logical space left to create more user strings." compile errors但是这些在这里没有帮助,因为它们谈论的是一些其他脚本/进程生成的 C# 代码。

在我的例子中,这是正常的 C# 代码正在编译/链接并遇到此错误。

有人可以帮我弄清楚如何调试这个问题吗?可能导致此问题的原因是什么?

我的代码中总共有大约 10 个字符串声明。

最佳答案

使用Strings应用程序转储出应用程序中的所有字符串,您可以从中找到多次创建的字符串。

或者你也可以使用 Windbg

关于c# - 没有逻辑空间来创建更多用户字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20531871/

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