main
cosmonaut 2023-12-13 11:21:23 -08:00
parent 4a9c9cc42c
commit 4f3863f5b8
3 changed files with 19 additions and 21 deletions

8
.vscode/launch.json vendored
View File

@ -2,13 +2,13 @@
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Attach to .NET 7 Debugger", "name": "Attach to .NET 8 Debugger",
"type": "coreclr", "type": "coreclr",
"request": "launch", "request": "launch",
"preLaunchTask": "Build: .NET 7 Debug", "preLaunchTask": "Build: .NET 8 Debug",
"program": "${workspaceFolder}/bin/x64/Debug/net7.0/ProjectName.dll", "program": "${workspaceFolder}/bin/Debug/net8.0/ProjectName.dll",
"args": [], "args": [],
"cwd": "${workspaceFolder}/bin/x64/Debug/net7.0", "cwd": "${workspaceFolder}/bin/Debug/net8.0",
"console": "integratedTerminal", "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen" "internalConsoleOptions": "neverOpen"
} }

30
.vscode/tasks.json vendored
View File

@ -21,12 +21,12 @@
}, },
"tasks": [ "tasks": [
{ {
"label": "Build & Run: .NET 7 Debug", "label": "Build & Run: .NET 8 Debug",
"type": "shell", "type": "shell",
"dependsOrder": "sequence", "dependsOrder": "sequence",
"dependsOn": [ "dependsOn": [
"Build: .NET 7 Debug", "Build: .NET 8 Debug",
"Run: .NET 7 Debug" "Run: .NET 8 Debug"
], ],
"group": { "group": {
"kind": "build", "kind": "build",
@ -35,13 +35,12 @@
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Build: .NET 7 Debug", "label": "Build: .NET 8 Debug",
"command": "dotnet", "command": "dotnet",
"args": [ "args": [
"build", "build",
"./ProjectName.csproj", "./ProjectName.csproj",
"-p:SolutionDir=${workspaceFolder}/", "-p:SolutionDir=${workspaceFolder}/"
"-p:Platform=x64"
], ],
"type": "shell", "type": "shell",
"group": { "group": {
@ -51,13 +50,13 @@
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Run: .NET 7 Debug", "label": "Run: .NET 8 Debug",
"command": "ProjectName", "command": "ProjectName",
"windows": { "windows": {
"command": "ProjectName.exe" "command": "ProjectName.exe"
}, },
"options": { "options": {
"cwd": "${workspaceFolder}/bin/x64/Debug/net7.0" "cwd": "${workspaceFolder}/bin/Debug/net8.0"
}, },
"type": "process", "type": "process",
"group": { "group": {
@ -67,15 +66,14 @@
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Build: .NET 7 Release", "label": "Build: .NET 8 Release",
"command": "dotnet", "command": "dotnet",
"args": [ "args": [
"build", "build",
"./ProjectName.csproj", "./ProjectName.csproj",
"--configuration", "--configuration",
"Release", "Release",
"-p:SolutionDir=${workspaceFolder}/", "-p:SolutionDir=${workspaceFolder}/"
"-p:Platform=x64"
], ],
"type": "shell", "type": "shell",
"group": { "group": {
@ -85,13 +83,13 @@
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Run: .NET 7 Release", "label": "Run: .NET 8 Release",
"command": "ProjectName", "command": "ProjectName",
"windows": { "windows": {
"command": "ProjectName.exe" "command": "ProjectName.exe"
}, },
"options": { "options": {
"cwd": "${workspaceFolder}/bin/x64/Debug/net7.0" "cwd": "${workspaceFolder}/bin/Debug/net8.0"
}, },
"type": "process", "type": "process",
"group": { "group": {
@ -101,11 +99,11 @@
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"label": "Build & Run: .NET 7 Release", "label": "Build & Run: .NET 8 Release",
"dependsOrder": "sequence", "dependsOrder": "sequence",
"dependsOn": [ "dependsOn": [
"Build: .NET 7 Release", "Build: .NET 8 Release",
"Run: .NET 7 Release" "Run: .NET 8 Release"
], ],
"type": "shell", "type": "shell",
"group": { "group": {

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<TargetName>ProjectName</TargetName> <TargetName>ProjectName</TargetName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>