Posted 21 January 2019, 7:21 am EST
Hi,
I setup a TFS Build Agent running within a Docker container and the build fails with following error message.
Source\System\Hmd.System\Hmd.System\Properties\licenses.licx (1, 0)
Source\System\Hmd.System\Hmd.System\Properties\licenses.licx(1,0): Error LC0004: Exception occurred creating type 'C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.2, Version=2.6.20061.250, Culture=neutral, PublicKeyToken=79882d576c6336da' 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.[img]https://gccontent.blob.core.windows.net/forum-uploads/file-80ab169a-b574-4df8-aeab-7fc70cf263f6.png[/img]
I attached a Screenshot of the TFS Build Configuration in which I register and un-register the C1 license on the fly.
Any idea why the build fails?
I validate the Build configuration against a TFS Build agent running within a “normal” HyperV VM. There it works fine. Is there something to do additionally within a docker container?
I’m would be grateful for any help!