Skip to content

"Grpc.Core: Error loading native library" on Windows ARM #452

@MichaMican

Description

@MichaMican

In have a similar issue as the Mac folks (#148) when trying to start a azurefunction in VSCode.
I am on a Windows ARM device is there a similar wokrarround for Windows ARM devices?

Full exception message:

[2025-07-23T07:31:43.543Z] A host error has occurred during startup operation '157e7aef-8c79-4cdc-90d2-aafa0db535c3'.
[2025-07-23T07:31:43.544Z] Grpc.Core: Error loading native library. Not found in any of the possible locations: D:\<PROJECTPATH>\bin\Debug\net8.0\.azurefunctions\grpc_csharp_ext.arm64.dll,D:\<PROJECTPATH>\bin\Debug\net8.0\.azurefunctions\runtimes/win-arm64/native\grpc_csharp_ext.arm64.dll,D:\<PROJECTPATH>\bin\Debug\net8.0\.azurefunctions\../..\runtimes/win-arm64/native\grpc_csharp_ext.arm64.dll.
Value cannot be null. (Parameter 'provider')

Something that bogs me is that in Visual Studio (not VSCode) it works without a probelm - but i assume the Visual Studio extensions use a different implementation then the VSCode Azure function extension.
Unfortunately I can't use Visual Studio anymore...

Any help is much appreciated

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions