diff --git a/eng/Common.globalconfig b/eng/Common.globalconfig index ba417e063f2..fa138da4ffe 100644 --- a/eng/Common.globalconfig +++ b/eng/Common.globalconfig @@ -987,7 +987,7 @@ dotnet_diagnostic.SA1504.severity = suggestion dotnet_diagnostic.SA1505.severity = suggestion # Element documentation headers should not be followed by blank line -dotnet_diagnostic.SA1506.severity = suggestion +dotnet_diagnostic.SA1506.severity = warning # Code should not contain multiple blank lines in a row dotnet_diagnostic.SA1507.severity = suggestion diff --git a/src/Framework/ILogger.cs b/src/Framework/ILogger.cs index 2e36213ff7d..873677cc9cb 100644 --- a/src/Framework/ILogger.cs +++ b/src/Framework/ILogger.cs @@ -26,7 +26,6 @@ namespace Microsoft.Build.Framework // WARNING: VS Automation code for the Tools/Options MSBuild build verbosity setting will be broken // by changes to this enum (not to mention existing MSBuild clients and vsproject code). // Please make sure to talk to automation devs before changing it. - [ComVisible(true)] public enum LoggerVerbosity { diff --git a/src/Framework/Traits.cs b/src/Framework/Traits.cs index ddcb8ade1ed..3c3d850d7c6 100644 --- a/src/Framework/Traits.cs +++ b/src/Framework/Traits.cs @@ -441,7 +441,6 @@ public enum SdkReferencePropertyExpansionMode /// /// Clone from ErrorUtilities which isn't (yet?) available in Framework. /// - private static readonly bool s_throwExceptions = String.IsNullOrEmpty(Environment.GetEnvironmentVariable("MSBUILDDONOTTHROWINTERNAL")); /// diff --git a/src/Utilities/TrackedDependencies/FileTracker.cs b/src/Utilities/TrackedDependencies/FileTracker.cs index e81f203b2cf..d33f0b35127 100644 --- a/src/Utilities/TrackedDependencies/FileTracker.cs +++ b/src/Utilities/TrackedDependencies/FileTracker.cs @@ -370,7 +370,6 @@ public static string EnsureFileTrackerOnPath(string rootPath) /// path that matches. /// /// The full path to Tracker.exe, or if a matching path is not found. - public static string FindTrackerOnPath() { string[] paths = Environment.GetEnvironmentVariable(pathEnvironmentVariableName).Split(pathSeparatorArray, StringSplitOptions.RemoveEmptyEntries);