dotnet / dotnet/docfx

Filters are no longer working in .Net Core 3.1

Open
#5,683 0 comments 1 reaction 0 assignees View on GitHub
dotnet
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

Windows (Microsoft visual studio 2019)

docfx.console 2.51.0

**Steps to Reproduce**:

1. Create a class library on .Net Core 3.1.
2. Create a public class and give it the `[EditorBrowsable(EditorBrowsableState.Never)]` attribute.
3. Install Nuget package docfx.console.
4. Build the project.

**Expected Behavior**:
The public class is not visible in the generated documentation.

**Actual Behavior**:
The public class is visible.

Switching the Target framework to .Net core 2.2 solves the problem. The class is no longer visible.
Creating a custom filter and excluding the class also doesn't work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.