dotnet / dotnet/interactive-window
Specify location of DLLs for C# Interactive
- Vorherrschende Sprache
- C#
- Sterne
- 75
- Forks
- 43
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
F# Interactive `#help` shows these options:
#r "file.dll";; Reference (dynamically load) the given DLL
#I "path";; Add the given search path for referenced DLLs
#load "file.fs" ...;; Load the given file(s) as if compiled and referenced
#time ["on"|"off"];; Toggle timing on/off
#help;; Display help
#quit;; Exit
F# Interactive command line options:
See 'fsi --help' for options
C# Interactive `#help` shows these options:
Keyboard shortcuts:
Enter If the current submission appears to be complete, evaluate it. Otherwise, insert a new line.
Escape Clear the current submission.
UpArrow Replace the current submission with a previous submission.
DownArrow Replace the current submission with a subsequent submission (after having previously navigated backwards).
Ctrl-C Exit the REPL.
REPL commands:
#help Display help on available commands and key bindings.
Script directives:
#r Add a metadata reference to specified assembly and all its dependencies, e.g. #r "myLib.dll".
#load Load specified script file and execute it, e.g. #load "myScript.csx".
One of the great features of F# scripts is the `#I` directive, which tells F# Interactive where to look for referenced DLLs.
Is there an equivalent way to do this in C# scripts?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Es wird keine Datei oder kein Test genannt. Beginne damit, die Behandlung von #r und #help in C# Interactive zu finden, und vergleiche sie anschließend mit dem Verhalten von #I in F# Interactive. Die Aufgabe ist abgeschlossen, wenn festgestellt wurde, ob ein gleichwertiger DLL-Suchpfad-Mechanismus existiert, und falls nicht, das angeforderte Verhalten definiert und dokumentiert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- cli, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100