RoslynAdditionalFilePaths
Array of strings representing the paths of any additional files defined for Roslyn analyzers in the current assembly.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Compilation
- Assembly: UnityEditor.CoreModule
public string[] RoslynAdditionalFilePaths { get; set; }
Remarks
To define additional files for Roslyn analyzers and source generators to use, add them to the project and name them in the format . The component is case-sensitive and must match the name of the analyzer the additional file targets. The component must not contain a period () character.
AssetsFilename.[Analyzer Name].additionalfile[Analyzer Name]Filename.For more information, refer to Additional files for Roslyn analyzers and source generators.