Added Visual Studio Codium settings

This commit is contained in:
Markus Ewald 2025-07-05 15:09:42 +02:00
parent 79a4659220
commit f3df56d6d5
4 changed files with 86 additions and 1 deletions

23
.editorconfig Normal file
View File

@ -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

16
.vscode/settings.json vendored Normal file
View File

@ -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
}
}

46
.vscode/tasks.json vendored Normal file
View File

@ -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"
}
]
}

View File

@ -45,4 +45,4 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyVersion("1.3.0.0")]