We need to adjust the path of appsettings.json file to be more robust. Use someting like this: ``` .SetBasePath(AppContext.BaseDirectory) ```