We are creating ADO Extension which is based on ASP.NET Core 8, Vite & REACT. We are using azure-devops-extension-sdk v4.0.2. When we use our application in Dev mode everything works fine BUT when we publish it SDK.getWebContext() starts throwing exception. Please see details below:
Hi,
We are creating ADO Extension which is based on ASP.NET Core 8, Vite & REACT. We are using azure-devops-extension-sdk v4.0.2. When we use our application in Dev mode everything works fine BUT when we publish it SDK.getWebContext() starts throwing exception. Please see details below:
Exception:
Code where exception is throwing:
Vite config:
Please let me know if further details are needed.
Thanks, Mustafa