Azure / Azure/azure-functions-core-tools
Azure functions core tools don't work on aspnet nanoserver ltsc2022 because it use "where.exe"
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 15
Description
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
Contributor guide
Research direction
Reproduce `func host start` in the `mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-ltsc2022` image after installing Azure Functions Core Tools with npm. Trace the `where.exe` lookup and verify that the host starts on Nano Server without manually copying `where.exe` into Windows/System32.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, docker, node.js
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100