You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
# Closing parenthesis should be spaced correctly: "foo()!"
337
+
dotnet_diagnostic.SA1009.severity = none
338
+
339
+
# Hide warnings when using the new() expression from C# 9.
340
+
dotnet_diagnostic.SA1000.severity = none
341
+
313
342
dotnet_diagnostic.SA1011.severity = none
314
343
dotnet_diagnostic.SA1101.severity = none
344
+
345
+
# Hide warnings when accessing properties without "this".
346
+
dotnet_diagnostic.SA1101.severity = none
315
347
dotnet_diagnostic.SA1118.severity = none
316
348
dotnet_diagnostic.SA1200.severity = none
317
349
dotnet_diagnostic.SA1201.severity = none
318
350
dotnet_diagnostic.SA1202.severity = none
319
351
dotnet_diagnostic.SA1309.severity = none
320
352
dotnet_diagnostic.SA1310.severity = none
353
+
354
+
# Hide warnings for record parameters.
355
+
dotnet_diagnostic.SA1313.severity = none
356
+
357
+
# TypeParameterNamesMustBeginWithT: We do have a few templates that don't start with T. We need to double check that changing this is not a breaking change. If not, we can re-enable this.
358
+
dotnet_diagnostic.SA1314.severity = none
359
+
360
+
# UseTrailingCommasInMultiLineInitializers: This would also mean a lot of changes at the end of all multiline initializers. It's also debatable if we want this or not.
361
+
dotnet_diagnostic.SA1413.severity = none
362
+
321
363
dotnet_diagnostic.SA1600.severity = none
322
364
dotnet_diagnostic.SA1602.severity = none
323
365
dotnet_diagnostic.SA1611.severity = none
366
+
367
+
# DocumentationTextMustEndWithAPeriod: Let's enable this rule back when we shift to WinUI3 (v8.x). If we do it now, it would mean more than 400 file changes.
<!-- Code CS8002 is a warning for strong named -> non-strong-named reference. This is valid for platforms other than .NET Framework (and is needed for the UWP targets. -->
32
+
<NoWarn>$(NoWarn);CS8002</NoWarn>
33
+
<!-- For including default @(Page) and @(Resource) items via 'MSBuild.Sdk.Extras' Sdk package. Also provides up to date check and file nesting -->
<UseUWPCondition="$(TargetFramework.Contains(`uap10.0`)) or '$(TargetFramework)' == 'net461'">true</UseUWP>
6
+
<!-- Exclude Notifications project from this since it sets different min versions than what we want for notifications -->
7
+
<UseUWPCondition="($(TargetFramework.StartsWith('uap10.0')) or '$(TargetFramework)' == 'net461') and '$(MSBuildProjectName)' != 'Microsoft.Toolkit.Uwp.Notifications'">true</UseUWP>
<!-- We'll include signing the Notifications library since we need the DLL signature to match for interop from class libraries to main projects -->
9
-
<WhenCondition="(!$(TargetFramework.Contains(`uap10.0`)) and '$(TargetFramework)' != 'native' and '$(IsSampleProject)' != 'true') or $(MSBuildProjectName) == 'Microsoft.Toolkit.Uwp.Notifications'">
13
+
<WhenCondition="!($(TargetFramework.StartsWith('uap10.0')) or '$(TargetFramework)' == 'native' or $(IsSampleProject)) or '$(MSBuildProjectName)' == 'Microsoft.Toolkit.Uwp.Notifications'">
0 commit comments