CLI: initialises project with out of support version of .NET #32804
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
cli
Issues related to the CDK CLI
effort/small
Small work item – less than a day of effort
p1
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
When initialising C# project it creates a project with target version of
net6
. This version is now out of support (See https://dotnet.microsoft.com/en-us/download/dotnet).By default, this should create a project with the target version of
net8
(LTS).Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Initialise project with .NET 8 as the default
Current Behavior
Project is Initialised with .NET 6 target framework
Reproduction Steps
cdk init app --language csharp
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.174.0 (build 9604329)
Framework Version
No response
Node.js Version
20.18.1
OS
Darwin arm64 24.2.0
Language
.NET
Language Version
.NET 8.0.404
Other information
No response
The text was updated successfully, but these errors were encountered: