Skip to content

Commit c2f2f06

Browse files
Don't warn on NU5104 for Mono.Unix Package (#374)
* Revert "Fixes build error related to mono.unix package (#372)" This reverts commit 621b8d3. * Fixes build error related to mono.unix package * Revert "Fixes build error related to mono.unix package" This reverts commit de58a18. * Revert and commit tested fix --------- Co-authored-by: Sebastian Gomez <[email protected]>
1 parent 621b8d3 commit c2f2f06

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.editorconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -469,11 +469,6 @@ dotnet_diagnostic.SA1623.severity = none
469469
# https://github.com/dotnet/roslyn-analyzers/issues/6852
470470
dotnet_diagnostic.CA1859.severity = none
471471

472-
# NU5104: A stable release of a package should not have a prerelease dependency
473-
# Justification: The Mono.Unix package that allows our tool to be built on ARM is labeled as 7.1.0-final.1.21458.1 which is detected as a prerelease dependency.
474-
# https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu5104
475-
dotnet_diagnostic.NU5104.severity = none
476-
477472
##########################################
478473
# Temporary rules
479474
#

src/Microsoft.Sbom.Common/Microsoft.Sbom.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Mono.Unix" />
12+
<PackageReference Include="Mono.Unix" NoWarn="NU5104" />
1313
<PackageReference Include="Serilog.Sinks.Console" />
1414
<PackageReference Include="System.IO.FileSystem.AccessControl" />
1515
<PackageReference Include="System.Private.Uri" />

0 commit comments

Comments
 (0)