.NET 8
parent
4a9c9cc42c
commit
4f3863f5b8
|
@ -2,13 +2,13 @@
|
|||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Attach to .NET 7 Debugger",
|
||||
"name": "Attach to .NET 8 Debugger",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "Build: .NET 7 Debug",
|
||||
"program": "${workspaceFolder}/bin/x64/Debug/net7.0/ProjectName.dll",
|
||||
"preLaunchTask": "Build: .NET 8 Debug",
|
||||
"program": "${workspaceFolder}/bin/Debug/net8.0/ProjectName.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/bin/x64/Debug/net7.0",
|
||||
"cwd": "${workspaceFolder}/bin/Debug/net8.0",
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
}
|
||||
|
|
|
@ -21,12 +21,12 @@
|
|||
},
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build & Run: .NET 7 Debug",
|
||||
"label": "Build & Run: .NET 8 Debug",
|
||||
"type": "shell",
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"Build: .NET 7 Debug",
|
||||
"Run: .NET 7 Debug"
|
||||
"Build: .NET 8 Debug",
|
||||
"Run: .NET 8 Debug"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
|
@ -35,13 +35,12 @@
|
|||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build: .NET 7 Debug",
|
||||
"label": "Build: .NET 8 Debug",
|
||||
"command": "dotnet",
|
||||
"args": [
|
||||
"build",
|
||||
"./ProjectName.csproj",
|
||||
"-p:SolutionDir=${workspaceFolder}/",
|
||||
"-p:Platform=x64"
|
||||
"-p:SolutionDir=${workspaceFolder}/"
|
||||
],
|
||||
"type": "shell",
|
||||
"group": {
|
||||
|
@ -51,13 +50,13 @@
|
|||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Run: .NET 7 Debug",
|
||||
"label": "Run: .NET 8 Debug",
|
||||
"command": "ProjectName",
|
||||
"windows": {
|
||||
"command": "ProjectName.exe"
|
||||
},
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/bin/x64/Debug/net7.0"
|
||||
"cwd": "${workspaceFolder}/bin/Debug/net8.0"
|
||||
},
|
||||
"type": "process",
|
||||
"group": {
|
||||
|
@ -67,15 +66,14 @@
|
|||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build: .NET 7 Release",
|
||||
"label": "Build: .NET 8 Release",
|
||||
"command": "dotnet",
|
||||
"args": [
|
||||
"build",
|
||||
"./ProjectName.csproj",
|
||||
"--configuration",
|
||||
"Release",
|
||||
"-p:SolutionDir=${workspaceFolder}/",
|
||||
"-p:Platform=x64"
|
||||
"-p:SolutionDir=${workspaceFolder}/"
|
||||
],
|
||||
"type": "shell",
|
||||
"group": {
|
||||
|
@ -85,13 +83,13 @@
|
|||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Run: .NET 7 Release",
|
||||
"label": "Run: .NET 8 Release",
|
||||
"command": "ProjectName",
|
||||
"windows": {
|
||||
"command": "ProjectName.exe"
|
||||
},
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/bin/x64/Debug/net7.0"
|
||||
"cwd": "${workspaceFolder}/bin/Debug/net8.0"
|
||||
},
|
||||
"type": "process",
|
||||
"group": {
|
||||
|
@ -101,11 +99,11 @@
|
|||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build & Run: .NET 7 Release",
|
||||
"label": "Build & Run: .NET 8 Release",
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"Build: .NET 7 Release",
|
||||
"Run: .NET 7 Release"
|
||||
"Build: .NET 8 Release",
|
||||
"Run: .NET 8 Release"
|
||||
],
|
||||
"type": "shell",
|
||||
"group": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetName>ProjectName</TargetName>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
||||
|
|
Loading…
Reference in New Issue