dotnet / dotnet/docfx

Class inheritance generated properly only when nuget packages can be resolved and code is compiled as binary as well

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

Description

**Operation System**: Windows

**DocFX Version Used**: 2.50.0.0

**Template used**: default

**Steps to Reproduce**:

1. Create AbstractApi in namespace1 (dotnetcore3.1 project A)
2. Create ConfigurationApi in namespace2 (dotnetcore3.1 project B)
3. docfx init -q
4. Copy source in src/
5a. run docfx docfx,json --serve without compiled code in the ./src folder
5b. run docfx docfx,json --serve with compiled code in the ./src folder

**Expected Behavior**:

The inheritance tree on ConfigurationApi should render properly

**Actual Behavior**:

When running docfx **without** compiled code.

The inheritance tree is not rendered properly
System.Object > ConfigurationApi

![image](https://user-images.githubusercontent.com/15861800/76009986-695d6580-5f12-11ea-8fef-d5712c4842dc.png)

When running docfx **with** compiled code.

The inheritance tree is rendered properly
System.Object > AbstractApi > ConfigurationApi
![image](https://user-images.githubusercontent.com/15861800/76010047-88f48e00-5f12-11ea-889d-066099ec4fb0.png)

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.