Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add a Reference Via F#'s Interactive Window

Is it possible to add a reference to a .NET library via F#'s interactive window? For example:

> open System.Xml.Linq;;

  open System.Xml.Linq;;
  ----------------^^^^

stdin(2,17): error FS0039: The namespace 'Linq' is not defined.
> 
like image 322
Bullines Avatar asked Jan 29 '10 19:01

Bullines


People also ask

How do you add a reference?

On the Reference tab, click Insert Citation and then do one of the following: To add the source information, click Add New Source, and then, in the Create Source dialog box, click the arrow next to Type of Source, and select the type of source you want to use (for example, a book section or a website).

How do you add in text References?

In-text references should immediately follow the title, word, or phrase to which they are directly relevant, rather than appearing at the end of long clauses or sentences. In-text references should always precede punctuation marks.

How do you automatically add References?

On the References tab , in the Citations & Bibliography group, click the arrow next to Style. Click the style that you want to use for the citation and source. Click at the end of the sentence or phrase that you want to cite. Click Insert Citation and then select Add New Source.

How do I add a reference markdown?

Inserting Citations. You insert citations by either using the Insert -> Citation command or by using markdown syntax directly (e.g. [@cite] or @cite ) . Citations go inside square brackets and are separated by semicolons.


1 Answers

This seems to work:

> #r "System.Xml.Linq" ;;
like image 70
Daniel Pratt Avatar answered Nov 16 '22 01:11

Daniel Pratt