GeneratorDriverOptions Struct

Definition

Options passed to a GeneratorDriver during creation.

C#
public readonly struct GeneratorDriverOptions
Inheritance
GeneratorDriverOptions

Constructors

Fields

Properties

BaseDirectory

Absolute path to directory that generated source file paths are rooted with, or null to use relative paths for the generated files. Usually the project's output directory unless GeneratedFilesOutputDirectory is specified.

Applies to

Proizvod Verzije
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.0.1, 4.1.0, 4.12.2, 4.13.0