From f3df56d6d5c3579e0eeb7d397df9f94ec021292b Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Sat, 5 Jul 2025 15:09:42 +0200 Subject: [PATCH] Added Visual Studio Codium settings --- .editorconfig | 23 +++++++++++++++++++ .vscode/settings.json | 16 +++++++++++++ .vscode/tasks.json | 46 ++++++++++++++++++++++++++++++++++++++ Properties/AssemblyInfo.cs | 2 +- 4 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 .editorconfig create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0493189 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +[*.cs] +charset = utf-8 + +# Indentation and line length +indent_size = 2 +indent_style = space +tab_width = 2 +max_line_length = 100 +end_of_line = lf + +# Organize usings +dotnet_separate_import_directive_groups = true +dotnet_sort_system_directives_first = true + +# this. and Me. preferences +dotnet_style_qualification_for_field = true + +# var preferences +csharp_style_var_when_type_is_apparent = true + +# New line preferences +csharp_new_line_before_else = false +csharp_new_line_before_open_brace = none diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e3f49c4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,16 @@ +// Workspace settings +{ + "files.exclude": { + "bin": true, + "obj": true, + "*.csproj": true, + "*.csproj.filters": true, + "*.csproj.user": true, + "*.ref": true, + "*.db": true, + ".gitignore": true, + ".editorconfig": true, + "build.cmd": true, + "build.sh": true + } +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..b84e324 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,46 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build", + "group": { + "kind": "build", + "isDefault": true + }, + "type": "shell", + "command": "dotnet", + "args": [ + "build", + "${workspaceFolder}/Nuclex.Windows.Forms.Ninject (net-4.6)(net-8.0).csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": "$msCompile" + }, + { + "label": "Publish", + //"dependsOn": [ "Install" ], + "group": { + "kind": "build", + "isDefault": true + }, + "type": "shell", + "command": "dotnet", + "args": [ + "publish", + "${workspaceFolder}/Nuclex.Windows.Forms.Ninject (net-4.6)(net-8.0).csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": "$msCompile" + } + ] +} diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index c6bb3b4..a44d13b 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -45,4 +45,4 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("1.2.1.0")] +[assembly: AssemblyVersion("1.3.0.0")]