For Desktop apps, including runtimeconfig.json will solve the issue. It might help the above context also.