共用方式為


GeneratorDriverOptions.BaseDirectory Property

Definition

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.

public string? BaseDirectory { get; }
member this.BaseDirectory : string
Public ReadOnly Property BaseDirectory As String

Property Value

Applies to