Is the relative path you are defined is correct?
Try once again with an absolute path.
Thanks for the reply.
I have tried setting an absolute path but I still get the exact same error.
Note, per the error in the image from my original post, it is looking for a file named 'License.config' even though I have configured it to look for a file named 'License.Staging.config'.
So, to me, it looks like I have not configured this correctly or the setting is not being obeyed.
Can anyone confirm if I am setting this value correctly?
Seems like you may be using the wrong settings - try this
^ That works.
I'm trying set the path to the license in 12.2.1
I've tried via code:
options.Licensing.LicenseFilePath = $"./License.Staging.config";
I've tried via appSettings.json:
However, the app is still looking at ./License.config
Am I missing anything here?
Thanks in advance