microsoft / azure-devops-extension-sample

Sample web extension for Azure DevOps
MIT License
235 stars 154 forks source link

SDK.getWebContext() throws exception when published #154

Open MustafaJamal opened 2 months ago

MustafaJamal commented 2 months ago

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: image

Code where exception is throwing:

image

Vite config:

image

Please let me know if further details are needed.

Thanks, Mustafa