Skip to content

Fix docs workflow by using modern docfx tool and .NET 10 SDK - #550

Merged
elinohlsson merged 2 commits into
mainfrom
fix/549-docs-workflow
Aug 26, 2026
Merged

Fix docs workflow by using modern docfx tool and .NET 10 SDK#550
elinohlsson merged 2 commits into
mainfrom
fix/549-docs-workflow

Conversation

@torselden

Copy link
Copy Markdown
Contributor

The docs CI failed because the outdated Chocolatey docfx and .NET 6 SDK could not load the .NET 10 projects (XMakeElements type initializer error).

Fixes #549

High level overview of this PR:

  • Switch to the docfx .NET global tool and install the .NET 10 SDK.

These things have been implemented (when relevant):

  • Code written
    - [ ] Test added
    - [ ] Documentation updated / written

The docs CI failed because the outdated Chocolatey docfx and .NET 6 SDK could not load the .NET 10 projects (XMakeElements type initializer error). Switch to the docfx .NET global tool and install the .NET 10 SDK.

Fixes #549

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Docs GitHub Actions workflow to use current tooling so DocFX can successfully extract metadata/build docs against the repository’s .NET 10 projects.

Changes:

  • Upgraded actions/checkout to v4.
  • Upgraded actions/setup-dotnet to v4 and switched the SDK to .NET 10.0.x.
  • Replaced Chocolatey-based DocFX installation with a dotnet global tool installation approach.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/docs.yml
@torselden
torselden marked this pull request as ready for review August 26, 2026 07:18
@elinohlsson
elinohlsson merged commit 0e6b626 into main Aug 26, 2026
17 checks passed
@elinohlsson
elinohlsson deleted the fix/549-docs-workflow branch August 26, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs workflow fails: docfx cannot load .NET 10 projects during metadata extraction

3 participants