-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some types excluded from documentation? #1051
Comments
It does seem to be an issue in the
The IntelliSense file has |
It seems to be connected to the documented project targeting When I added Looking into it, it turns out that most of those were correct complaints about missing documentation tags, and the types missing from the documentation when building "normally" were now present in the documentation.
but the output tree for the run where the source project had That means I now seem to have a workaround, but not an explanation or a solution, for this issue. What might be happening is that any type that references a type from a package dependency causes an internal error that is neither handled nor reported, causing the silent omissions. |
Can you attach an example demonstrating the issue? |
Thanks to #1057 I now have a reproduction test case.
Editing lib.csproj, uncommenting the marked property, and rebuilding the solution makes things work. |
This appears to be related to central package management. I was able to duplicate this issue and #1052 with dotnet build and MSBuild. Using the standalone GUI with your test project worked. Once I modified your test project to use my local copy with the fix rather than the SHFB NuGet package it worked as expected. So, this issue and #1052 should be resolved once I publish the new release. |
I will try to make a reproducible test case, but we're having an issue where a number of classes are being left out of the documentation output. In addition, it's in heavy use so there are literally thousands of "Unknown reference link target" messages from other types in the same assembly and namespace.
The log shows nothing special; GenerateRefInfo outputs:
No warnings or errors are shown until
GenerateInheritedDocumentation
correctly warns about some missing docs (on unrelated types), and thenBuildTopics
reporting the "Unknown reference link target".The type I initially noticed this for is a very large one (over 500 method, over 100 of which are operator overloads), so I thought there might be a limitiation at play there. But then I noticed some other much smaller types were similarly affected, so I am at a loss as to any possible cause.
The SHFB project has a single csproj documentation source, so all affected types are from the same assembly, and they are all public. There is an API filter active to hide internal namespaces, but if I remove that, the problem remains (it just adds another ~2000 "unknown reference" messages).
Is there any way of tracing what types were considered for inclusion and why they were included/excluded?
The text was updated successfully, but these errors were encountered: