Skip to content

Commit

Permalink
Add section which describes how to install the analyzer using nuget w…
Browse files Browse the repository at this point in the history
…hen working with vscode
  • Loading branch information
Daniel Francesconi committed Dec 24, 2020
1 parent 678178a commit 5ef6131
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,20 @@ Another way to configure the connection string is by setting the value of an env

The analyzer will try to locate and read the file first, then falls back to using the environment variable.

### 2 - Install the analyzer using paket
### 2 - Install the analyzer using

#### a. paket
Use paket to install the analyzer into a specialized `Analyzers` dependency group like this:
```
paket add NpgsqlFSharpAnalyzer --group Analyzers
```
**DO NOT** use `storage:none` because we want the analyzer package to be downloaded physically into `packages/analyzers` directory.

#### b. nuget
```
nuget install NpgsqlFSharpAnalyzer -OutputDirectory packages/analyzers
```

### 3 - Enable analyzers in Ionide
Make sure you have these settings in Ionide for FSharp
```json
Expand Down

0 comments on commit 5ef6131

Please sign in to comment.