Azure / azure-functions-vs-build-sdk

MSBuild task for Azure Functions
MIT License
96 stars 62 forks source link

Autogenerated WorkerExtensions.csproj : Default Target framework is set to Net6 instead of net8 #628

Closed mahrezTaharboucht closed 4 months ago

mahrezTaharboucht commented 4 months ago

Hello,

We tried to migrate our Azure functions from .net6 to .net8 but we discovered that the autogenerated project "WorkerExtensions" is always targeting .net6. Is it possible to change the target framework to .Net8 ? thanks

Involved source code : https://github.com/Azure/azure-functions-dotnet-worker/blob/main/sdk/Sdk/ExtensionsCsprojGenerator.cs ligne (63)

mahrezTaharboucht commented 4 months ago

Move the issue the correct repository