When running/debugging an Azure Functions project locally, I get the error:
C:\Users\wsieburgh\AppData\Local\JetBrains\Toolbox\apps\Rider\ch-0\202.7660.16\plugins\dpa\DotFiles\JetBrains.DPA.Runner.exe --handle=5724 --backend-pid=1504 --detach-event-name=dpa.detach.5724 "C:\Program Files\dotnet\dotnet.exe" Y:/RiderProjects/invoicesintegration/source/Functions/bin/Debug/netcoreapp3.1/bin/Invoicing.Functions.dll A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'Y:\RiderProjects\invoicesintegration\source\Functions\bin\Debug\netcoreapp3.1\bin\ '.
This was when running Rider on a Windows 10 machine.
On that same machine, the same project runs find in Visual Studio.