Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public string[] RoslynAdditionalFilePaths { get; set; }

Remarks

To define additional files for Roslyn analyzers and source generators to use, add them to the project
Assets
and name them in the format
Filename.[Analyzer Name].additionalfile
. The
[Analyzer Name]
component is case-sensitive and must match the name of the analyzer the additional file targets. The
Filename
component must not contain a period (
.
) character.