Skip to content

Commit ce9aea3

Browse files
committed
Disable analyzer which is throwing NullReferenceException
1 parent dcf600c commit ce9aea3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/Microsoft.NET.Sdk.Razor.Tool.Tests/Microsoft.NET.Sdk.Razor.Tool.Tests.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
99
</PropertyGroup>
1010

11+
<PropertyGroup>
12+
<!-- Disable this analyzer due to NullReferenceException it throws: https://github.com/dotnet/roslyn-analyzers/issues/7652 -->
13+
<NoWarn>$(NoWarn);CA2025</NoWarn>
14+
</PropertyGroup>
15+
1116
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
1217

1318
<PropertyGroup>

0 commit comments

Comments
 (0)