vscode: dotnet telemetry optout

This commit is contained in:
telans 2020-06-22 16:06:03 +12:00
parent 4e08876028
commit ae20776db3
No known key found for this signature in database
GPG Key ID: 195444EE92DBCB20
2 changed files with 15 additions and 7 deletions

15
.vscode/launch.json vendored
View File

@ -1,9 +1,9 @@
{ {
// Use IntelliSense to find out which attributes exist for C# debugging // Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes // Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": ".NET Core Launch (console)", "name": ".NET Core Launch (console)",
"type": "coreclr", "type": "coreclr",
@ -24,5 +24,8 @@
"request": "attach", "request": "attach",
"processId": "${command:pickProcess}" "processId": "${command:pickProcess}"
} }
,] ],
"env": {
"DOTNET_CLI_TELEMETRY_OPTOUT": "1"
}
} }

7
.vscode/tasks.json vendored
View File

@ -21,5 +21,10 @@
], ],
"problemMatcher": "$msCompile" "problemMatcher": "$msCompile"
} }
] ],
"options": {
"env": {
"DOTNET_CLI_TELEMETRY_OPTOUT": "1"
}
}
} }