From 97ea16e590da11b6bf855d66341bb3ac83d1fe48 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 22 Mar 2026 03:51:29 +0000 Subject: [PATCH 1/2] docs: update intro text to reference NuGet package instead of FSharp.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> --- docs/library/CsvProvider.fsx | 3 +-- docs/library/JsonProvider.fsx | 2 +- docs/library/XmlProvider.fsx | 8 ++------ 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/docs/library/CsvProvider.fsx b/docs/library/CsvProvider.fsx index c0d3f40d2..8cf9c975c 100644 --- a/docs/library/CsvProvider.fsx +++ b/docs/library/CsvProvider.fsx @@ -47,8 +47,7 @@ present on the columns of that sample. The column names are obtained from the fi -The type provider is located in the `FSharp.Data.dll` assembly. Assuming the package is referenced -we can access its namespace as follows: +To use this type provider, reference the `FSharp.Data` NuGet package. Open the namespace: *) open FSharp.Data diff --git a/docs/library/JsonProvider.fsx b/docs/library/JsonProvider.fsx index ec5c9e33e..8ac468026 100644 --- a/docs/library/JsonProvider.fsx +++ b/docs/library/JsonProvider.fsx @@ -52,7 +52,7 @@ If the loaded file does not match the structure of the sample, a runtime error m -The type provider is located in the `FSharp.Data.dll` assembly and namespace: +To use this type provider, reference the `FSharp.Data` NuGet package. Open the namespace: *) open FSharp.Data diff --git a/docs/library/XmlProvider.fsx b/docs/library/XmlProvider.fsx index b432fe822..fc5e26688 100644 --- a/docs/library/XmlProvider.fsx +++ b/docs/library/XmlProvider.fsx @@ -45,12 +45,8 @@ relying on samples. ## Introducing the provider -The type provider is located in the `FSharp.Data.dll` assembly. Assuming the assembly -is located in the `../../bin` directory, we can load it in F# Interactive as follows: -(note we also need a reference to `System.Xml.Linq`, because the provider uses the -`XDocument` type internally): *) - -#r "System.Xml.Linq.dll" +To use this type provider, reference the `FSharp.Data` NuGet package. Open the namespace: +*) open FSharp.Data From c5eaa242378ef237055b1f1c50cc7233e5a0b3c9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 22 Mar 2026 03:58:44 +0000 Subject: [PATCH 2/2] ci: trigger checks