Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure functions core tools don't work on aspnet nanoserver ltsc2022 because it use "where.exe" #3624

Open
DadvDadv opened this issue Mar 15, 2024 · 0 comments

Comments

@DadvDadv
Copy link

DadvDadv commented Mar 15, 2024

Hi,

I try to install Azure Functions Core Tools on a docker image mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-ltsc2022.

After installing nodejs / npm, i install Azure Functions Core Tools via npm (npm i -g azure-functions-core-tools@4 --unsafe-perm true)

Everything work fine but when i try to launch the host :

func host start [....]

I've got an error message telling me that the 'where.exe' file where not found in Windows/System32.

For the workaround, I copy the where.exe from my pc to the Windows/System32 and all work fine.

Question :

Could you make AFCT not using where.exe, so it could be complient with nanoserver ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant