Skip to content

[Repo Assist] docs: update intro text to reference NuGet package instead of FSharp.Data.dll#1708

Draft
github-actions[bot] wants to merge 2 commits intomainfrom
repo-assist/fix-issue-1490-docs-modern-nuget-reference-9bb12d9d4eb06e17
Draft

[Repo Assist] docs: update intro text to reference NuGet package instead of FSharp.Data.dll#1708
github-actions[bot] wants to merge 2 commits intomainfrom
repo-assist/fix-issue-1490-docs-modern-nuget-reference-9bb12d9d4eb06e17

Conversation

@github-actions
Copy link
Contributor

🤖 This is an automated pull request from Repo Assist, an AI assistant for this repository.

Closes #1490

Problem

Three provider documentation files (JsonProvider.fsx, CsvProvider.fsx, XmlProvider.fsx) still contained outdated text:

  • "The type provider is located in the FSharp.Data.dll assembly…"
  • In XmlProvider.fsx, this was followed by a standalone #r "System.Xml.Linq.dll" directive (unnecessary since System.Xml.Linq is part of the BCL in modern .NET)

These instructions described the old approach of manually referencing a local .dll file, which is no longer how users install FSharp.Data.

Changes

  • JsonProvider.fsx: Replace "The type provider is located in the FSharp.Data.dll assembly and namespace:" with "To use this type provider, reference the FSharp.Data NuGet package. Open the namespace:"
  • CsvProvider.fsx: Same update — remove the old assembly-path framing
  • XmlProvider.fsx: Same update + remove the stale #r "System.Xml.Linq.dll" directive

The #r "nuget: FSharp.Data,\{\{fsdocs-package-version}}" reference (under condition: fsx) was already correct and is untouched. The GIF images referenced in the issue (docs/images/json.gif etc.) require screen-recording to regenerate and are out of scope for this PR.

Test Status

  • ✅ Format check (dotnet run --project build/build.fsproj -- -t CheckFormat) passes — no changes needed
  • Docs-only change; no code logic altered; full test suite not required

Generated by Repo Assist ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@d1d884596e62351dd652ae78465885dd32f0dd7d

…Data.dll assembly

Remove outdated references to loading FSharp.Data.dll from a local path.
Update CsvProvider, JsonProvider and XmlProvider docs to say 'reference
the FSharp.Data NuGet package' instead. Also remove the unnecessary
'#r "System.Xml.Linq.dll"' directive from XmlProvider.fsx (System.Xml.Linq
is part of the BCL in modern .NET and requires no explicit reference).

Closes #1490

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update pictures in docs with #r nuget reference (no .dll ref)

0 participants