简体   繁体   English

“已超过最大错误数”,但未列出任何错误或警告

[英]“maximum number of errors has been exceeded” but no errors nor warnings listed

I'm facing a very odd situation. 我面临一个非常奇怪的情况。 I'm trying to rebuild a legacy asp.net web site that targets .net 4.5 version and when I try to rebuild, I get the "maximum number of errors has been exceeded". 我正在尝试重建一个以.net 4.5版本为目标的传统asp.net网站,当我尝试重建时,出现“已超过最大错误数”。 When I look into the error list window, I see no other errors nor warning. 当我查看错误列表窗口时,看不到其他错误或警告。

Any ideas of what could possibly be causing this error? 关于什么可能导致此错误的任何想法?

Thanks in advance. 提前致谢。

Sounds like the Error List is filtered. 听起来像错误列表已被过滤。 Make sure that "Errors" is selected 确保选择“错误”

错误列表过滤器

To my knowledge, this is a limitation imposed by the compiler. 据我所知,这是编译器施加的限制。 Verified here: https://docs.microsoft.com/en-us/dotnet/visual-basic/misc/bc30041 在这里验证: https : //docs.microsoft.com/en-us/dotnet/visual-basic/misc/bc30041

You can see 100 errors at a time. 您一次可以看到100个错误。 You will have to resolve some to see the others. 您必须解决一些问题才能看到其他问题。 If you only see the max errors error in the error list, then I suggest using the output window and show output from Build to locate what is causing the issue. 如果您仅在错误列表中看到最大错误错误,那么我建议使用输出窗口并显示Build的输出以查找引起问题的原因。

A workaround for this problem is to build the solution from a command prompt using msbuild. 解决此问题的方法是使用msbuild从命令提示符处生成解决方案。 Some more details in this answer 此答案中的更多详细信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “已超过服务器实例的最大数量”是什么意思? - What does "The maximum number of server instances has been exceeded" mean? 已超出传入邮件的最大邮件大小限额(65536) - The maximum message size quota for incoming messages (65536) has been exceeded “全局元素...已被声明”错误 - "The global element ... has already been declared" errors SmtpClient:最大并发连接数超过了限制 - SmtpClient: The maximum number of concurrent connections has exceeded a limit 将所有警告视为错误 - Treat all warnings as errors 架构验证警告和错误 - Schema Validation Warnings and Errors WCF错误:System.ServiceModel.CommunicationException已超过传入消息的最大消息大小配额 - WCF error: System.ServiceModel.CommunicationException the maximum message size quota for incoming messages has been exceeded 错误:外部DLL已超过传入消息的最大消息大小配额(65536) - Error: maximum message size quota for incoming messages (65536) has been exceeded from external DLL WCF,已超过传入消息的最大消息大小配额(65536) - WCF, The maximum message size quota for incoming messages (65536) has been exceeded 读取XML数据时已超出最大名称字符集计数配额(16384) - The maximum nametable character count quota (16384) has been exceeded while reading XML data
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM