Skip to content

CSharp library not used for generating API docs  #857

Open
@kMutagene

Description

@kMutagene

At some point the fsdocs tool stopped generating API docs for a C# library (Plotly.NET.CSharp) in a mixed F#/C# solution (https://github.com/plotly/Plotly.NET/tree/dev/src). I am 100% certain that this worked in the past. Now the tool only selects the F# projects for API doc generation:

./> "dotnet.exe"  fsdocs watch --eval --clean --properties Configuration=Release --parameters fsdocs-package-version 5.0.0 (In: false, Out: false, Err: false)
discarding project state in '.fsdocs/cache' as now invalid
cracking projects...
  skipping project 'build.fsproj' because it isn't a library

Inputs for API Docs:
    C:\Users\schne\source\repos\plotly\Plotly.NET\src\Plotly.NET\bin\Release\netstandard2.0\Plotly.NET.dll
    C:\Users\schne\source\repos\plotly\Plotly.NET\src\Plotly.NET.ImageExport\bin\Release\netstandard2.0\Plotly.NET.ImageExport.dll
    C:\Users\schne\source\repos\plotly\Plotly.NET\src\Plotly.NET.Interactive\bin\Release\netstandard2.1\Plotly.NET.Interactive.dll

Substitutions/parameters:
  root --> http://localhost:8901/
  fsdocs-authors --> Timo Mühlhaus, Kevin Schneider, F# open source contributors
  fsdocs-collection-name --> Plotly.NET

...

I have a build step that builds all projects including the C# project before starting docs generation, so the binaries are there.

Could it be a problem that the C# project targets .net6.0 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions