Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ScriptCompilerOptions.RoslynAnalyzerDllPaths

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public string[] RoslynAnalyzerDllPaths;

Description

Stores the paths to the .dll files.

RoslynAnalyzerDllPaths contain either relative or absolute paths, for example C:\MyUnityProject\Assets\MyRoslynAnalyzer.dll, or Assets\MyRoslynAnalyzer.dll. Your Unity project is compiled with these Roslyn analyzers. To use Roslyn analyzers in a Unity project, save the analyzer .dll files inside the Assets folder (or any of its nested folders), and give them the label RoslynAnalyzer.