I have to do this each time I deploy! Should the application be able to find dotnet.exe by itself? Or can we have a place in the Radzen project where we can store a variable with the explicit path to dotnet.exe, to save having to remote onto the server and change this every time?
The directory for the x86 version was also in Path so my colleague wondered if Radzen was finding that first and failing to fire up the correct version. So I removed the x86 version from Path and it still doesn't work. Also tried removing the trailing \ after dotnet.
It is IIS that cannot find dotnet and not Radzen in this case - when you deploy the application it is run by IIS. What you describe seems to be this issue. The web.config file that Radzen generates contains the following:
According to the aforementioned issue LAUNCHER_PATH gets replaced by WebDeploy with dotnet.
The issue mention three solutions:
Restarting the server if it hasn't been restated after installing .NET Core
Moving the 64 bit path before the 32 bit.
In order to prevent Radzen from overwriting the file AND WebDeploy from replacing it you can do the following: