Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@
-->
<NoWarn>$(NoWarn);NU1507;NU5104;NU5111</NoWarn>
</PropertyGroup>

<!-- Following settings is temporary workaround to suppress warning NU1903: Package 'Microsoft.Build.Tasks.Core' 17.7.2 has a known low severity vulnerability -->
<PropertyGroup>
<!-- `all` is default NuGetAuditMode when build with .NET SDK 10 or later -->
<NuGetAuditMode>direct</NuGetAuditMode>
</PropertyGroup>


<PropertyGroup>
<ContentTargetFolders>contentFiles</ContentTargetFolders>

Expand Down
7 changes: 7 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
<PackageVersion Include="Microsoft.Build" Version="17.14.8" Condition="'$(TargetFramework)' != 'net8.0'"/>
</ItemGroup>

<!-- Temporary settings to suppress NU1901 warning. -->
<!-- TODO: Remove these settings after `Microsoft.CodeAnalysis.Workspaces.MSBuild` dependency is updated. -->
<ItemGroup>
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="[17.11.31]" Condition="'$(TargetFramework)' == 'net8.0'"/>
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.14.8" Condition="'$(TargetFramework)' != 'net8.0'"/>
</ItemGroup>

<ItemGroup>
<PackageVersion Include="Microsoft.CodeAnalysis" Version="4.14.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Common" Version="4.14.0" />
Expand Down
3 changes: 3 additions & 0 deletions src/Docfx.Dotnet/Docfx.Dotnet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" />
<!-- Temporary settings to suppress NU1901 warning. -->
<!-- TODO: Remove this setting after `Microsoft.CodeAnalysis.Workspaces.MSBuild` dependency is updated. -->
<PackageReference Include="Microsoft.Build.Tasks.Core" />
</ItemGroup>

</Project>