Skip to content

Commit

Permalink
chore: cleanup code that relating dropping .NET 6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed Oct 20, 2024
1 parent 89c5705 commit 88e0fc4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
8 changes: 0 additions & 8 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,13 @@
<None Include="$(MSBuildThisFileDirectory)\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup Condition="'$(ProjectName)' != 'Docfx.Common'">
<PackageReference Include="PolySharp">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>


<!-- Remove Node.js runtime dependencies that used by playwright -->
<Target Name="RemoveNodeJsRuntimes" AfterTargets="CopyPlaywrightFilesToOutput">
<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<PackageVersion Include="OneOf.SourceGenerator" Version="3.0.271" />
<PackageVersion Include="PdfPig" Version="0.1.9" />
<PackageVersion Include="PlantUml.Net" Version="1.4.80" />
<PackageVersion Include="PolySharp" Version="1.14.1" />
<PackageVersion Include="Spectre.Console" Version="0.49.1" />
<PackageVersion Include="Spectre.Console.Cli" Version="0.49.1" />
<PackageVersion Include="Stubble.Core" Version="1.10.8" />
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ We welcome code contributions through pull requests, issues tagged as **[`help-w
### Prerequisites

- Install [Visual Studio 2022 (Community or higher)](https://www.visualstudio.com/) and make sure you have the latest updates.
- Install [.NET SDK](https://dotnet.microsoft.com/download/dotnet) 6.x and 8.x.
- Install [.NET SDK](https://dotnet.microsoft.com/download/dotnet) 8.x and 9.x.
- Install NodeJS (20.x.x).

### Build and Test
Expand Down
3 changes: 1 addition & 2 deletions src/Docfx.Common/Docfx.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="Docfx.Build.ManagedReference" />
<InternalsVisibleTo Include="docfx.Build" />
<InternalsVisibleTo Include="Docfx.Dotnet" />
</ItemGroup>

<!-- TODO: Following settings will be removed after NewtonsoftJson dependencies are removed. -->
<ItemGroup>
<InternalsVisibleTo Include="docfx.Build" />
<InternalsVisibleTo Include="Docfx.Build.Tests" />
<InternalsVisibleTo Include="docfx.Tests" />
</ItemGroup>
Expand Down

0 comments on commit 88e0fc4

Please sign in to comment.