Skip to content

Commit

Permalink
Update targetframework to net7.0 (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeBenting authored Jul 10, 2023
1 parent a6570d5 commit b7dbaf1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion __tests__/sample-with-solution/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion __tests__/sample-with-solution/build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace></RootNamespace>
<NoWarn>CS0649;CS0169</NoWarn>
<NukeRootDirectory>..</NukeRootDirectory>
Expand Down
2 changes: 1 addition & 1 deletion src/generators/app/templates/source/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/generators/app/templates/source/build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<RootNamespace></RootNamespace>
<NoWarn>CS0649;CS0169</NoWarn>
<NukeRootDirectory>..</NukeRootDirectory>
Expand Down

0 comments on commit b7dbaf1

Please sign in to comment.