diff --git a/__tests__/sample-with-solution/.vscode/launch.json b/__tests__/sample-with-solution/.vscode/launch.json index 73d6a81..1b76f14 100644 --- a/__tests__/sample-with-solution/.vscode/launch.json +++ b/__tests__/sample-with-solution/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/build/bin/Debug/netcoreapp3.1/_build.dll", + "program": "${workspaceFolder}/build/bin/Debug/_build.dll", "args": [], "cwd": "${workspaceFolder}/build", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console diff --git a/__tests__/sample-with-solution/build/_build.csproj b/__tests__/sample-with-solution/build/_build.csproj index 90e1fb5..a8e7bf3 100644 --- a/__tests__/sample-with-solution/build/_build.csproj +++ b/__tests__/sample-with-solution/build/_build.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net7.0 CS0649;CS0169 .. diff --git a/src/generators/app/templates/source/.vscode/launch.json b/src/generators/app/templates/source/.vscode/launch.json index 73d6a81..1b76f14 100644 --- a/src/generators/app/templates/source/.vscode/launch.json +++ b/src/generators/app/templates/source/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/build/bin/Debug/netcoreapp3.1/_build.dll", + "program": "${workspaceFolder}/build/bin/Debug/_build.dll", "args": [], "cwd": "${workspaceFolder}/build", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console diff --git a/src/generators/app/templates/source/build/_build.csproj b/src/generators/app/templates/source/build/_build.csproj index 90e1fb5..a8e7bf3 100644 --- a/src/generators/app/templates/source/build/_build.csproj +++ b/src/generators/app/templates/source/build/_build.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net7.0 CS0649;CS0169 ..