Skip to content

Commit 37e031e

Browse files
authored
Default to .NET 8 for inproc (#4557)
1 parent 17d3bb3 commit 37e031e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

release_notes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
- Fix dotnet templates installation (#4538)
1111
- Disable diagnostic events in local development by replacing the `IDiagnosticEventRepository` with a `DiagnosticEventNullRepository` (#4542)
1212
- Add `func pack` support for in-proc functions (#4529)
13-
- Default to remote build for `func pack` for python apps (#4530)
13+
- Default to remote build for `func pack` for python apps (#4530)
14+
- Update `func init` to default to the .NET 8 template for in-proc apps (#4557)

src/Cli/func/Actions/LocalActions/InitAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ internal class InitAction : BaseAction
2121
{
2222
// Default to .NET 8 if the target framework is not specified
2323
private const string DefaultTargetFramework = Common.TargetFramework.Net8;
24-
private const string DefaultInProcTargetFramework = Common.TargetFramework.Net6;
24+
private const string DefaultInProcTargetFramework = Common.TargetFramework.Net8;
2525
private readonly ITemplatesManager _templatesManager;
2626
private readonly ISecretsManager _secretsManager;
2727
internal static readonly Dictionary<Lazy<string>, Task<string>> FileToContentMap = new Dictionary<Lazy<string>, Task<string>>

0 commit comments

Comments
 (0)