diff --git a/csharp/.vscode/extensions.json b/csharp/.vscode/extensions.json new file mode 100644 index 00000000000..f05b9cdf715 --- /dev/null +++ b/csharp/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "github.vscode-codeql", + "ms-dotnettools.csharp", + "formulahendry.dotnet-test-explorer", + "hbenl.vscode-test-explorer" + ], + "unwantedRecommendations": [] +} \ No newline at end of file diff --git a/csharp/.vscode/settings.json b/csharp/.vscode/settings.json new file mode 100644 index 00000000000..a9149e2c068 --- /dev/null +++ b/csharp/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "dotnet-test-explorer.enableTelemetry": false, + "dotnet-test-explorer.testProjectPath": "**/*Tests.@(csproj|vbproj|fsproj)", + "dotnet-test-explorer.testArguments": "/property:GenerateTargetFrameworkAttribute=false", + "csharp.supressBuildAssetsNotification": true, + "csharp.suppressDotnetRestoreNotification": true +} \ No newline at end of file diff --git a/csharp/.vscode/tasks.json b/csharp/.vscode/tasks.json new file mode 100644 index 00000000000..d3a0553dc44 --- /dev/null +++ b/csharp/.vscode/tasks.json @@ -0,0 +1,53 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "dotnet build", + "command": "dotnet", + "type": "shell", + "args": [ + "build", + // Ask dotnet build to generate full paths for file names. + "/property:GenerateFullPaths=true", + // Do not generate summary otherwise it leads to duplicate errors in Problems panel + "/consoleloggerparameters:NoSummary" + ], + "group": "build", + "presentation": { + "reveal": "always" + }, + "problemMatcher": "$msCompile" + }, + { + "label": "dotnet rebuild", + "command": "dotnet", + "type": "shell", + "args": [ + "build", + "--no-incremental", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "group": "build", + "presentation": { + "reveal": "always" + }, + "problemMatcher": "$msCompile" + }, + { + "label": "dotnet test", + "command": "dotnet", + "type": "shell", + "args": [ + "test", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "group": "test", + "presentation": { + "reveal": "always" + }, + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file