diff --git a/src/Compilers/Core/MSBuildTask/ErrorString.resx b/src/Compilers/Core/MSBuildTask/ErrorString.resx index 0bb6ae2d5982f..176b8cf88d829 100644 --- a/src/Compilers/Core/MSBuildTask/ErrorString.resx +++ b/src/Compilers/Core/MSBuildTask/ErrorString.resx @@ -214,4 +214,7 @@ File "{0}" could not be read: {1} + + Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers. + \ No newline at end of file diff --git a/src/Compilers/Core/MSBuildTask/Microsoft.Managed.Core.targets b/src/Compilers/Core/MSBuildTask/Microsoft.Managed.Core.targets index 5c035bb1ba9ff..5472f8d09727d 100644 --- a/src/Compilers/Core/MSBuildTask/Microsoft.Managed.Core.targets +++ b/src/Compilers/Core/MSBuildTask/Microsoft.Managed.Core.targets @@ -50,10 +50,19 @@ + + + - + <_SkipAnalyzers> + <_ImplicitlySkipAnalyzers> + + <_ImplicitlySkipAnalyzers>true + <_SkipAnalyzers>true + + + + + + + + <_LastBuildWithSkipAnalyzers>$(IntermediateOutputPath)$(MSBuildProjectFile).BuildWithSkipAnalyzers + + + + + + + + + + + +