Skip to content

Commit b36c3a0

Browse files
[msbuild] Demote W7091 to a message instead of warning. (#22000)
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: > path/to/myframework.framework is a framework of static libraries, and will not be copied to the app. --------- Co-authored-by: Alex Soto <[email protected]>
1 parent 140c928 commit b36c3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msbuild/Xamarin.MacDev.Tasks/Tasks/FilterStaticFrameworks.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public override bool Execute ()
5252
continue;
5353
}
5454

55-
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));
55+
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));
5656
list.RemoveAt (i);
5757
}
5858

0 commit comments

Comments
 (0)