Skip to content

Commit 336a78d

Browse files
committed
chore: fix nightly build CI error
1 parent 0a63acf commit 336a78d

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Directory.Build.props

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
<NoWarn>$(NoWarn);NU1507;NU5104;NU5111</NoWarn>
2424
</PropertyGroup>
2525

26-
<!-- Following settings is workaround to suppress warning NU1903: Package 'Microsoft.Build.Tasks.Core' 17.7.2 has a known high severity vulnerability -->
27-
<PropertyGroup Condition="'$(TargetFramework)' == 'net10.0'">
28-
<!-- `all` is default NuGetAuditMode for .NET SDK 10 or later -->
29-
<NuGetAuditMode>direct</NuGetAuditMode>
30-
</PropertyGroup>
31-
3226
<PropertyGroup>
3327
<ContentTargetFolders>contentFiles</ContentTargetFolders>
3428

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@
3737
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic" Version="4.14.0" />
3838
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.14.0" />
3939
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="4.14.0" />
40+
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.14.8" />
4041
</ItemGroup>
4142
</Project>

src/Docfx.Dotnet/Docfx.Dotnet.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" />
4040
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" />
4141
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" />
42+
<!-- Following package is required to suppress NU1901 warning. This setting will be removed when `Microsoft.CodeAnalysis.Workspaces.MSBuild` dependency is updated. -->
43+
<PackageReference Include="Microsoft.Build.Tasks.Core" />
4244
</ItemGroup>
4345

4446
</Project>

0 commit comments

Comments
 (0)