The license we are using on our build machine expired - which I normally wouldn't be too concerned about, however displaying the modal dialog breaks the build.
licenses.licx(1): error LC0004: Exception occurred creating type 'ChartFX.WinForms.Chart, ChartFX.WinForms, Version=7.0.4259.29043, Culture=neutral, PublicKeyToken=a1878e2052c08dce' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Is there a way to disable the dialog?