Skip to content

Commit 9f815c3

Browse files
committed
Add aspnetcore nullable patch
1 parent ddd53c2 commit 9f815c3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
From c70232268e76633ee9bb1c5c384890bdc46c90e5 Mon Sep 17 00:00:00 2001
2+
From: Michael Simons <[email protected]>
3+
Date: Fri, 2 Apr 2021 16:18:27 +0000
4+
Subject: [PATCH] Disable nullable warnings
5+
6+
---
7+
Directory.Build.props | 4 ++--
8+
1 file changed, 2 insertions(+), 2 deletions(-)
9+
10+
diff --git a/Directory.Build.props b/Directory.Build.props
11+
index 1057387..f029e23 100644
12+
--- a/Directory.Build.props
13+
+++ b/Directory.Build.props
14+
@@ -107,9 +107,9 @@
15+
16+
<!-- Warnings and errors -->
17+
<PropertyGroup>
18+
- <!-- Don't warn on CA1416 since source-build TFM changes
19+
+ <!-- Don't warn since source-build TFM changes
20+
are causing the warning to occur -->
21+
- <NoWarn>$(NoWarn);CA1416</NoWarn>
22+
+ <NoWarn>$(NoWarn);CA1416;CS8600;CS8618;CS8766</NoWarn>
23+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
24+
<!-- Don't make missing XML docs a fatal build error, but still surface so we have visibility into undocumented APIs. -->
25+
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS1591</WarningsNotAsErrors>
26+
--
27+
1.8.3.1
28+

0 commit comments

Comments
 (0)