Skip to content

Commit 0971952

Browse files
authored
improved the #r directive instructions (#8405)
improved the name of #r directive, renamed to script and interactive
1 parent b72d197 commit 0971952

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/NuGetGallery/Views/Packages/DisplayPackage.cshtml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,13 @@
112112
InstallPackageCommands = new [] { string.Format("paket add {0} --version {1}", Model.Id, Model.Version) },
113113
},
114114

115-
new PackageManagerViewModel("F# Interactive")
115+
new PackageManagerViewModel("Script & Interactive")
116116
{
117-
Id = "fsharp-interactive",
117+
Id = "script-interactive",
118118
CommandPrefix = "> ",
119119
InstallPackageCommands = new [] { string.Format("#r \"nuget: {0}, {1}\"", Model.Id, Model.Version) },
120120
AlertLevel = AlertLevel.Info,
121-
AlertMessage = string.Format(
122-
"For F# scripts that support <a href=\"{0}\">#r syntax</a>, copy this into the source code to reference the package.",
123-
"https://docs.microsoft.com/en-us/dotnet/fsharp/tools/fsharp-interactive/#referencing-packages-in-f-interactive")
121+
AlertMessage = "#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package."
124122
},
125123

126124
new ThirdPartyPackageManagerViewModel("Cake", "https://cakebuild.net/support/nuget")

0 commit comments

Comments
 (0)