omnisharp.json
Omnisharp Configuration file
| Type | object |
|---|---|
| File match |
omnisharp.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/omnisharp-json/latest.json |
| Source | https://www.schemastore.org/omnisharp.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Used to control C# formatting
52 nested properties
Used to define refactorings, code actions and analyzer locations that OmniSharp should use (i.e. Roslynator)
4 nested properties
If set to false, only refactorings are available
Used to define which directories and files should be included in OmniSharp's project file / solution file discovery process. Not individual .cs files.
2 nested properties
Recommended for manual editing
[
"**/node_modules/**/*",
"**/bin/**/*",
"**/obj/**/*",
"**/.git/**/*"
]
Can be used by tools such as VS Code to automatically share its exclusion settings with OmniSharp
[]
3 nested properties
2 nested properties
1 nested properties
[]
Used to configure MSBuild solutions and projects
13 nested properties
Value of ToolsVersion to use when building projects passed to this task
Build configuration used for project evaluation
Specifies which version of the Common Language Runtime (CLR) use for project evaluation
MSBuild extensions path. On Standalone this defaults to the MSBuild folder. In VisualStudio mode this folder will be %VSINSTALLDIR%\MSBuild
Root directory where the target framework will be looked for. Uses default path if this is null
Path to the Sdks folder for this MSBuild instance
Local Roslyn path (e.g.
FileName of C# compiler
If true, MSBuild project system will only be loading projects for files that were opened in the editor as well as referenced projects, recursively
Used to configure C# scripting (CSX files)
4 nested properties
A response file (.rsp) is used to provide the command line arguments that are used to run the roslyn script compiler process. You can use this to override the default namespace includes among other things.
Used to configure Cake (cake files)