Skip to content

Commit 750674e

Browse files
committed
fix build warnings
1 parent a2bcf69 commit 750674e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<RepositoryUrl>https://github.com/GitTools/GitVersion</RepositoryUrl>
1919
<RepositoryType>git</RepositoryType>
2020

21-
<NoWarn>$(NoWarn);1591,8618,SYSLIB10;EnableGenerateDocumentationFile</NoWarn>
21+
<NoWarn>$(NoWarn);NU1701;1591,8618,SYSLIB10;EnableGenerateDocumentationFile</NoWarn>
2222
<WarningsAsErrors>$(WarningsAsErrors);RS0016;RS0017;RS0022;RS0024;RS0025;RS0026;RS0027</WarningsAsErrors>
2323

2424
<DebugType>embedded</DebugType>

src/Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<PackageVersion Include="JunitXml.TestLogger" Version="3.1.12" />
99
<PackageVersion Include="LibGit2Sharp" Version="0.29.0" />
1010
<PackageVersion Include="MSBuild.ProjectCreation" Version="11.0.1" />
11+
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
1112
<PackageVersion Include="Microsoft.Build" Version="17.9.5" />
1213
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.9.5" />
1314
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />

src/GitVersion.MsBuild.Tests/GitVersion.MsBuild.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<PackageReference Include="MSBuild.ProjectCreation" />
55
<PackageReference Include="Buildalyzer" />
66
<PackageReference Include="LibGit2Sharp" />
7+
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" />
78
<PackageReference Include="Microsoft.Build" />
89
<PackageReference Include="Microsoft.Build.Utilities.Core" />
910
</ItemGroup>

0 commit comments

Comments
 (0)