How to increase error limit in Visual Studio?

前端 未结 5 1887
再見小時候
再見小時候 2020-12-06 15:58

When building an application in Visual Studio. It shows the following error when exceeding the error count

    fatal error C1003: error count exceeds 100; sto         


        
5条回答
  •  南笙
    南笙 (楼主)
    2020-12-06 16:26

    I also have a project like this: sometimes Visual Studio decides there is a lot to do, emits 100 really irrelevant messages about other parts of the solution and aborts the build because it reached the message limit without working on the project I'm interested on.

    The workaround we have found is to use msbuild to build the solution from a command prompt: the Use MSBuild walkthrough outlines the steps. msbuild outputs all messages to the console and once the build completes we can work and debug again in Visual Studio. Not ideal, but it lets us complete the task at hand.

提交回复
热议问题