Skip to content

Commit f714c13

Browse files
fabiocavankitkumarr
authored andcommitted
Updating .NET worker assembly hook name (#2494)
1 parent 25275e6 commit f714c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Azure.Functions.Cli/Actions/HostActions/StartHostAction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private async Task<IDictionary<string, string>> GetConfigurationSettings(string
251251
// Inject the .NET Worker startup hook if debugging the worker
252252
if (DotNetIsolatedDebug != null && DotNetIsolatedDebug.Value)
253253
{
254-
Environment.SetEnvironmentVariable("DOTNET_STARTUP_HOOKS", "Microsoft.Azure.Functions.Worker");
254+
Environment.SetEnvironmentVariable("DOTNET_STARTUP_HOOKS", "Microsoft.Azure.Functions.Worker.Core");
255255
}
256256

257257
// Flow JSON logs flag

0 commit comments

Comments
 (0)