Add solution configuration and tooling
- .gitignore for .NET/Blazor project - VS Code launch and task configurations - Solution file (Duempelkas.slnx) - NuGet configuration
This commit is contained in:
119
.gitignore
vendored
Normal file
119
.gitignore
vendored
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
##
|
||||||
|
## See https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
|
||||||
|
|
||||||
|
# Build results
|
||||||
|
[Dd]ebug/
|
||||||
|
[Dd]ebugPublic/
|
||||||
|
[Rr]elease/
|
||||||
|
[Re]leases/
|
||||||
|
x64/
|
||||||
|
x86/
|
||||||
|
[Ww]in32/
|
||||||
|
[Aa]rm/
|
||||||
|
[Aa]rm64/
|
||||||
|
asms/
|
||||||
|
bin/
|
||||||
|
obj/
|
||||||
|
publish/
|
||||||
|
[Ll]og/
|
||||||
|
[Ll]ogs/
|
||||||
|
|
||||||
|
# Visual Studio 2015/2017/2019/2022 cache/options directory
|
||||||
|
.vs/
|
||||||
|
# Visual Studio Code
|
||||||
|
# .vscode/
|
||||||
|
!.vscode/settings.json
|
||||||
|
!.vscode/tasks.json
|
||||||
|
!.vscode/launch.json
|
||||||
|
!.vscode/extensions.json
|
||||||
|
*.code-workspace
|
||||||
|
|
||||||
|
# User-specific files
|
||||||
|
*.rsuser
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.userosscache
|
||||||
|
*.sln.docstates
|
||||||
|
|
||||||
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||||
|
*.userprefs
|
||||||
|
|
||||||
|
# Mono auto generated files
|
||||||
|
mono_crash.*
|
||||||
|
|
||||||
|
# Nested folders
|
||||||
|
[Dd]ebug/
|
||||||
|
[Rr]elease/
|
||||||
|
**/bin/
|
||||||
|
**/obj/
|
||||||
|
|
||||||
|
# NuGet Packages
|
||||||
|
*.nupkg
|
||||||
|
# NuGet Symbol Packages
|
||||||
|
*.snupkg
|
||||||
|
# The packages folder can be ignored because of Package Restore
|
||||||
|
**/[Pp]ackages/*
|
||||||
|
# except build/, which is used as an MSBuild target.
|
||||||
|
!**/[Pp]ackages/build/
|
||||||
|
# If using the NuGet Plugin for Visual Studio, it creates a NuGet.exe copy in the solutions directory
|
||||||
|
# git should ignore it.
|
||||||
|
# NuGet.exe
|
||||||
|
# If using the NuGet Proto NuGet.dest.config file for Visual Studio, it creates a NuGet.dest.config copy in the solutions directory
|
||||||
|
# git should ignore it.
|
||||||
|
NuGet.dest.config
|
||||||
|
# Project-specific NuGet config files
|
||||||
|
# NuGet.config
|
||||||
|
|
||||||
|
# BROWSER CLOUD EXPLORER
|
||||||
|
.build/
|
||||||
|
|
||||||
|
# Entity Framework 6 (deprecated)
|
||||||
|
*.Cache
|
||||||
|
!*.Directives.Cache
|
||||||
|
|
||||||
|
# Entity Framework Core
|
||||||
|
# Add this if you want to ignore the migrations folder
|
||||||
|
# **/Migrations/
|
||||||
|
|
||||||
|
# SQL Server files
|
||||||
|
*.mdf
|
||||||
|
*.ldf
|
||||||
|
*.ndf
|
||||||
|
|
||||||
|
# JetBrains Resharper temp files
|
||||||
|
_ReSharper*/
|
||||||
|
*.[Rr]e[Ss]harper.user
|
||||||
|
|
||||||
|
# Mac OS X
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# User-specific files
|
||||||
|
*.swp
|
||||||
|
*~
|
||||||
|
# IDE Support
|
||||||
|
.idea/
|
||||||
|
.vs/
|
||||||
|
|
||||||
|
# Publishing tools
|
||||||
|
node_modules/
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
.pnpm-debug.log*
|
||||||
|
|
||||||
|
# Application Insights
|
||||||
|
Microsoft.ApplicationInsights.SnapshotCollector.targets
|
||||||
|
|
||||||
|
# Generated scripts
|
||||||
|
_*/
|
||||||
|
|
||||||
|
# Local Config
|
||||||
|
*.local.config
|
||||||
|
*.local.json
|
||||||
|
appsettings.local.json
|
||||||
|
|
||||||
|
# User secrets
|
||||||
|
secrets.json
|
||||||
|
.microsoft.dotnet.usersecrets/
|
||||||
16
.vscode/launch.json
vendored
Normal file
16
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": ".NET Core Launch (Desktop)",
|
||||||
|
"type": "coreclr",
|
||||||
|
"request": "launch",
|
||||||
|
"preLaunchTask": "build",
|
||||||
|
"program": "${workspaceFolder}/src/Duempelkas.Desktop/bin/Debug/net10.0/Duempelkas.Desktop.dll",
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}/src/Duempelkas.Desktop",
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"console": "internalConsole"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
70
.vscode/tasks.json
vendored
Normal file
70
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "build",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"build",
|
||||||
|
"${workspaceFolder}/Duempelkas.slnx"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"statusbar": {
|
||||||
|
"label": "$(tools) Build",
|
||||||
|
"color": "#3a96ff",
|
||||||
|
"detail": "Build the solution"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "watch",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"watch",
|
||||||
|
"run",
|
||||||
|
"--project",
|
||||||
|
"${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile",
|
||||||
|
"isBackground": true,
|
||||||
|
"options": {
|
||||||
|
"statusbar": {
|
||||||
|
"label": "$(eye) Watch",
|
||||||
|
"color": "#f7df06",
|
||||||
|
"detail": "Watch and Run Desktop"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Git Sub Update",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "git submodule update --init",
|
||||||
|
"options": {
|
||||||
|
"statusbar": {
|
||||||
|
"hide": false,
|
||||||
|
"label": "$(arrow-circle-down) Git Sub Update",
|
||||||
|
"color": "#3a96ff"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Git Fetch + Pull Root + Submodule Init",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "git fetch; git pull; git submodule update --init",
|
||||||
|
"options": {
|
||||||
|
"statusbar": {
|
||||||
|
"hide": false,
|
||||||
|
"label": "$(arrow-circle-down) Git Fetch/Pull + Submodules",
|
||||||
|
"color": "#3a96ff"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
11
Duempelkas.slnx
Normal file
11
Duempelkas.slnx
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<Solution>
|
||||||
|
<Folder Name="/src/">
|
||||||
|
<Project Path="src/Duempelkas.App/Duempelkas.App.csproj" />
|
||||||
|
<Project Path="src/Duempelkas.Desktop/Duempelkas.Desktop.csproj" />
|
||||||
|
<Project Path="src/Duempelkas.Domain/Duempelkas.Domain.csproj" />
|
||||||
|
<Project Path="src/Duempelkas.Infrastructure/Duempelkas.Infrastructure.csproj" />
|
||||||
|
</Folder>
|
||||||
|
<Folder Name="/tests/">
|
||||||
|
<Project Path="tests/Duempelkas.Tests/Duempelkas.Tests.csproj" />
|
||||||
|
</Folder>
|
||||||
|
</Solution>
|
||||||
7
nuget.config
Normal file
7
nuget.config
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<clear />
|
||||||
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
Reference in New Issue
Block a user