Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/fsharp/tutorials/fsharp-interactive/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ F# scripting is natively supported in [Visual Studio](../../get-started/get-star

> [!NOTE]
> Package management is an F# 5 feature and is currently available using the latest .NET 5 SDK.
> Package management system is extensible, read more [about other extensions](https://github.com/dotnet/fsharp/tree/main/src/fsharp/Microsoft.DotNet.DependencyManager).

F# Interactive supports referencing NuGet packages with the `#r "nuget:"` syntax and an optional version:

Expand Down Expand Up @@ -117,6 +118,8 @@ printfn "%A" (f (dsharp.tensor 1.2))

You can specify as many package references as you like in a script.

Read more about [package management extensibility and other extensions](https://github.com/dotnet/fsharp/tree/main/src/fsharp/Microsoft.DotNet.DependencyManager).

## Referencing assemblies on disk with F# interactive

Alternatively, if you have an assembly on disk and wish to reference that in a script, you can use the `#r` syntax to specify an assembly. Consider the following code in a project compiled into `MyAssembly.dll`:
Expand Down