From fc813f53a7279a314337e3b5d341ecd7e48e35ec Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Sat, 5 Jul 2025 12:52:50 +0200 Subject: [PATCH] Added Visual Studio Codium settings --- .vscode/settings.json | 16 ++++++ .vscode/tasks.json | 64 +++++++++++++++++++++++ Directory.Build.props | 21 ++++++++ Properties/AssemblyInfo.cs | 4 +- Source/DependencyInjectedWindowManager.cs | 4 +- Source/MvvmExtensions.cs | 4 +- 6 files changed, 107 insertions(+), 6 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json create mode 100644 Directory.Build.props 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..4703a8e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,64 @@ +{ + // 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.Avalonia.DependencyInjection (netstandard-2.0).csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": "$msCompile" + }, + { + "label": "Test", + //"dependsOn": [ "Run" ], + "group": { + "kind": "build", + "isDefault": true + }, + "type": "shell", + "command": "dotnet", + "args": [ + "test", + "${workspaceFolder}/Nuclex.Avalonia.DependencyInjection.Tests (netstandard-2.0).csproj", + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": "$msCompile" + }, + { + "label": "Publish", + //"dependsOn": [ "Install" ], + "group": { + "kind": "build", + "isDefault": true + }, + "type": "shell", + "command": "dotnet", + "args": [ + "publish", + "${workspaceFolder}/Nuclex.Avalonia.DependencyInjection (netstandard-2.0).csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": "$msCompile" + } + ] +} diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..9600b42 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,21 @@ + + + + + obj\$(MSBuildProjectName) + + + diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index d8411bb..a88aa7a 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -1,7 +1,7 @@ #region Apache License 2.0 /* -Nuclex .NET Framework -Copyright (C) 2002-2024 Markus Ewald / Nuclex Development Labs +Nuclex Foundation libraries for .NET +Copyright (C) 2002-2025 Markus Ewald / Nuclex Development Labs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Source/DependencyInjectedWindowManager.cs b/Source/DependencyInjectedWindowManager.cs index 35dd566..df2801d 100644 --- a/Source/DependencyInjectedWindowManager.cs +++ b/Source/DependencyInjectedWindowManager.cs @@ -1,7 +1,7 @@ #region Apache License 2.0 /* -Nuclex .NET Framework -Copyright (C) 2002-2024 Markus Ewald / Nuclex Development Labs +Nuclex Foundation libraries for .NET +Copyright (C) 2002-2025 Markus Ewald / Nuclex Development Labs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Source/MvvmExtensions.cs b/Source/MvvmExtensions.cs index fe21bab..7e2adce 100644 --- a/Source/MvvmExtensions.cs +++ b/Source/MvvmExtensions.cs @@ -1,7 +1,7 @@ #region Apache License 2.0 /* -Nuclex .NET Framework -Copyright (C) 2002-2024 Markus Ewald / Nuclex Development Labs +Nuclex Foundation libraries for .NET +Copyright (C) 2002-2025 Markus Ewald / Nuclex Development Labs Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.