Visual GDB failing to run: Modal Dialog

Sysprogs forums Forums VisualGDB Visual GDB failing to run: Modal Dialog

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11092
    CurtisHx
    Participant

    We’re having a problem on our TFS 2017 build environment where VisualGDB won’t run when it is invoked as part of an official build through TFS.  I can run the build manually on the build machine by calling “msbuild myproject.proj” from a developer console.  But it will not run through TFS.

    Here’s the error message.

    12>ExecutePrebuildActions:
    System.InvalidOperationException
    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.
    at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
    at ft1.n(String a, Object[] b)
    at n61.f_2(m5 a)
    at b2..ctor(VisualGDBProjectSettings2 b, pa1 c, d1 a)
    at VisualGDB.MSBuild.BuildHelper..ctor(String vgdbSettingsFile)
    at Sysprogs.build.tasks.shared.LaunchVisualGDB.Execute()
    12>C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\Targets\external.targets(5,3): error : 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.

    #11115
    support
    Keymaster

    Hi,

    Please let us know the exact VisualGDB build number (can be located via file properties for VisualGDB.exe) so that we could check why this window is shown.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.