Thanks @Remco.
I just tested with the 5.10.0.1 with success.
As I side note, I also tested this NCrunch version with the version 1.17.0 of the Microsoft.Azure.Functions.Worker.Sdk package, and I got the following build error:
Quote:
..\..\..\..\program files\microsoft visual studio\2022\preview\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets (5321, 5): Could not copy the file "D:\NCrunchWorkspace\46204\7\FunctionApp1\obj\Debug\net8.0\functions.metadata" because it was not found.
..\..\..\..\program files\microsoft visual studio\2022\preview\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets (5321, 5): Could not copy the file "D:\NCrunchWorkspace\46204\7\FunctionApp1\obj\Debug\net8.0\worker.config.json" because it was not found.
..\..\..\..\program files\microsoft visual studio\2022\preview\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets (5321, 5): Could not copy the file "D:\NCrunchWorkspace\46204\7\FunctionApp1\obj\Debug\net8.0\extensions.json" because it was not found.
That could be an issue for those of us who cannot easily upgrade their packages.