Skip to content

Commit

Permalink
Merge pull request #74279 from syntax-tm/feature/fix-incremental-gene…
Browse files Browse the repository at this point in the history
…rators-docs-error

Fixed grammar in incremental-generators.cookbook.md
  • Loading branch information
jaredpar authored Jul 10, 2024
2 parents 28f0ccf + 1edfcdf commit 8a4d4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/features/incremental-generators.cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ For example, to turn your generator project into a NuGet package at build, add t

Any *runtime* dependencies, that is, code that the end users program will need to rely on, can simply be added as a dependency of the generator NuGet package via the usual referencing mechanism.

For example, consider a generator that creates code that relies on `Newtonsoft.Json`. The generator does not directly use the dependency, it just emits code that relies on the library being referenced in the users compilation. The author would add a reference to `Newtonsoft.Json` as a public dependency, and when the user adds the generator package it will referenced automatically.
For example, consider a generator that creates code that relies on `Newtonsoft.Json`. The generator does not directly use the dependency, it just emits code that relies on the library being referenced in the users compilation. The author would add a reference to `Newtonsoft.Json` as a public dependency, and when the user adds the generator package it will be referenced automatically.

```xml
<Project>
Expand Down

0 comments on commit 8a4d4c0

Please sign in to comment.