Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable real time compilation in Visual Studio 2015

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.

like image 287
MoonStom Avatar asked May 12 '15 23:05

MoonStom


People also ask

How to stop auto Compile in Visual Studio?

You can stop it by changing Options->Projects and Solutions->ASP.NET Core->Auto build and refresh option . Or you can simply kill the web server while editing.

How to turn off code analysis Visual Studio?

To open this page, right-click the project node in Solution Explorer and select Properties. Select the Code Analysis tab. To disable source analysis at build time, uncheck the Run on build option. To disable live source analysis, uncheck the Run on live analysis option.

How do I turn off errors in Visual Studio?

Turn off the warning for a project in Visual StudioSelect the Configuration Properties > C/C++ > Advanced property page. Edit the Disable Specific Warnings property to add 4996 . Choose OK to apply your changes.


2 Answers

In visual Studio 2015 go to tools, options, text editor, C#, Advanced and uncheck Enable full solution analysis. This should stop your problem as the solution won't be checked every time unless you build it.

enter image description here

Hope this helps you

like image 115
Marcos Placona Avatar answered Oct 18 '22 00:10

Marcos Placona


This is not an answer, but I want to post a screenshot of what my Tools > Options > Text Editor > C# > Advanced section looks like.

I am using VS2015 Community Update 1 and I do not have the "Enable full solution analysis" option, or some of the other ones in the screenshot above.

enter image description here

like image 3
JamesFaix Avatar answered Oct 18 '22 00:10

JamesFaix