-
Notifications
You must be signed in to change notification settings - Fork 865
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
How to get Extension Methods to display when using assembly references #10117
Comments
It seems be filtered out by following line.
As a temporary workaround. docfx.json
ProjectB.csproj <ItemGroup Condition="'$(DocfxMetadataBuild)' == 'true'">
<ProjectReference Include="..\ClassLibrary1\ProjectA.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(DocfxMetadataBuild)' != 'true'">
<Reference Include="ProjectA">
<HintPath>..\ClassLibrary1\bin\Release\net8.0\ProjectA.dll</HintPath>
</Reference>
</ItemGroup> |
@filzrev Any chance this can be fixed in the next round of DocFX updates? |
When using Assembly Reference.
I've found similar issue at Roslyn repository. But it seems not be resolved. |
Thank you @filzrev for this info. |
Discussed in #10063
Originally posted by UmaHarano July 3, 2024
I am having issues with extension methods to be listed in the base class.
I have two csproj files in my solution:
Issue
Project A's Map class apiPage yml I generate using DocFX lists the extension methods defined in Project B.
Project A's Map class apiPage yml I generate using DocFX does not list the extension methods defined in Project B. This is the issue.
The problem is my code base only uses "Assembly reference". So I am missing all the extension methods. Is there a solution or work around you can recommend? I cannot use project references.
The text was updated successfully, but these errors were encountered: