Is there a way to disable the real time compilation in Visual Studio 2015?
It's grinding to a halt whenever I make changes that have a ripple effect throughout my dependent code. The error list updates even before saving the C# file I'm working on, filling it with CS**** compiler errors as I'm typing.
Go to Options -> Text Editor\C# -> Advanced: Uncheck "Underline errors" and "Show live semantic errors". Its also called compile on save. Worked on MS Visual Studio Ultimate 2013, haven't installed the 2015 yet.
Go to Options -> TextEditor -> C# -> Advanced. Under Editor Help, disable "show diagnostics" for closed files. This option disables the analyzers from running on all closed files in the solution and the analysis is performed only on the Open/Active files in VS.
I found one setting in Resharper. Sheck it and you dont see the squiggles. Resharper Options/Code Inspection/Settings/Visual Studio integratinon/Suppress Visual Studio squiggles.
I just disable this in the Error List window. There is a drop down with these options:
- Build + IntelliSense
- Build Only
- IntelliSense Only
If I select Build Only, it does not try to find compilation errors in real time.
来源:https://stackoverflow.com/questions/30203387/how-to-disable-real-time-compilation-in-visual-studio-2015

