global.json
ASP.NET global configuration file
| Type | object |
|---|---|
| File match |
global.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/global-json/latest.json |
| Source | https://www.schemastore.org/global.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
sdk
object
Specify information about the SDK.
3 nested properties
version
string
The version of the SDK to use.
pattern=^(?<major>0|[1-9]\d*)\.(?<minor>0|[1-9]\d*)\.(?<patch>0|[1-9]\d*)(?:-(?<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
allowPrerelease
boolean
rollForward
string
The roll-forward policy when selecting an SDK version, either as a fallback to accommodate missing a specific SDK version or as a directive to use a later version.
test
object
Specify information related to testing
1 nested properties
runner
string
The test runner/platform used by 'dotnet test' command.