You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Issue #32804Closes#32804
### Reason for this change
New projects in C# and F# are initialized using .NET6.0, which was designated EOL 12 NOV 2024.
### Description of changes
Upgraded .NET from 6.0 (EOL) -> 8.0 (LTS) for new projects in C# and F#.
### Describe any new or updated permissions being added
No permissions changes.
### Description of how you validated changes
Changed unit tests to check for .NET8.0 instead of .NET6.0, and ran them successfully.
<img width="768" alt="Screenshot 2025-01-13 at 12 53 25" src="https://github.com/user-attachments/assets/2992bd18-382a-43fc-826f-59c41214a8cb" />
### Checklist
- [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Copy file name to clipboardExpand all lines: packages/aws-cdk/lib/init-templates/sample-app/csharp/src/%name.PascalCased%/%name.PascalCased%.template.csproj
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
<PropertyGroup>
4
4
<OutputType>Exe</OutputType>
5
-
<TargetFramework>net6.0</TargetFramework>
5
+
<TargetFramework>net8.0</TargetFramework>
6
6
<!-- Roll forward to future major versions of the netcoreapp as needed -->
Copy file name to clipboardExpand all lines: packages/aws-cdk/lib/init-templates/sample-app/fsharp/src/%name.PascalCased%/%name.PascalCased%.template.fsproj
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
<PropertyGroup>
4
4
<OutputType>Exe</OutputType>
5
-
<TargetFramework>net6.0</TargetFramework>
5
+
<TargetFramework>net8.0</TargetFramework>
6
6
<!-- Roll forward to future major versions of the netcoreapp as needed -->
0 commit comments