From a2b29828a12c27c897114cf1b26ee26fdbe8e598 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 17 Jan 2025 08:43:36 +0100 Subject: [PATCH] [msbuild] Demote W7091 to a message instead of warning. This warning seems to confuse people more than help them, so stop emitting it as a warning. Keep it as a message though, so it shows up in binlogs. --- msbuild/Xamarin.MacDev.Tasks/Tasks/FilterStaticFrameworks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msbuild/Xamarin.MacDev.Tasks/Tasks/FilterStaticFrameworks.cs b/msbuild/Xamarin.MacDev.Tasks/Tasks/FilterStaticFrameworks.cs index 701ba6df3475..e9f5c2903ee0 100644 --- a/msbuild/Xamarin.MacDev.Tasks/Tasks/FilterStaticFrameworks.cs +++ b/msbuild/Xamarin.MacDev.Tasks/Tasks/FilterStaticFrameworks.cs @@ -52,7 +52,7 @@ public override bool Execute () continue; } - Log.LogWarning (7091, frameworkExecutablePath, MSBStrings.W7091 /* "The framework {0} is a framework of static libraries, and will not be copied to the app." */, Path.GetDirectoryName (frameworkExecutablePath)); + Log.LogMessage (MessageImportance.Low, MSBStrings.W7091 /* "The framework {0} is a framework of static libraries, and will not be copied to the app." */, Path.GetDirectoryName (frameworkExecutablePath)); list.RemoveAt (i); }