AzureDevOps integration

Sysprogs forums Forums VisualGDB AzureDevOps integration

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #29978
    mhs
    Participant

    Hi guys,
    we need a integration in AuzureDevOps of VisualGDB.
    It is with the Embedded Edition of VisualGDB possible?
    We are using VS2019.
    Following error occurs in the buildagent:
    ##[error]C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\SysprogsPlatform.targets(98,2): Error : No toolchain found. Please configure the toolchain via VisualGDB Project Properties.
    What is the best way for a solution?

    thx a lot.
    Michael

    • This topic was modified 3 years, 9 months ago by mhs.
    #29980
    support
    Keymaster

    Hi,

    VisualGDB Embedded Edition can be used in a CI environment, however it does not support various advanced features, such as unit tests or coverage.

    We would advise reading through our TFS tutorials to get a basic understanding of the needed configuration steps.

    The “no toolchain error” happens because your project references a toolchain that is not installed in the CI environment (i.e. on the same machine and under the same user account used for running VisualGDB there). You can install it manually by running VisualGDB.exe /packages or automatically via Team Settings (requires upgrading to the Custom edition).

    #30065
    mhs
    Participant

    Hi,
    I have done all… I think so.
    AzureDevOps agent on my local machine is running.
    I have create a job in the pipeline.
    I have made the teams settings…
    But, I always get the same mistake ?!?
    The agent process is running on my machine with following error.

    ##[debug]Processed: ##vso[task.logdetail id=92f90a2d-c760-41ce-b6ad-fe9bf4d4bd6c;parentid=87d0cc4b-c6f6-4676-b065-88215161c2fe;name=Solution1.sln (Clean);type=Build;starttime=2021-03-04T08:27:33.4746918Z;state=InProgress;targetname=Clean;]
         1>Projekt "D:\agent\_work\2\s\Solution1\Solution1.sln" auf Knoten "1", Clean Ziel(e).
         1>ValidateSolutionConfiguration:
             Die Projektmappenkonfiguration "Release|VisualGDB" wird erstellt.
    ##[debug]Processed: ##vso[task.logdetail id=547a5245-7fd2-4679-a10c-56c280918d19;parentid=92f90a2d-c760-41ce-b6ad-fe9bf4d4bd6c;name=StepperDriver\StepperDriver.vcxproj (Clean);type=Build;starttime=2021-03-04T08:27:33.5806898Z;state=InProgress;targetname=Clean;]
    ##[error]C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\SysprogsPlatform.targets(98,2): Error : No toolchain found. Please configure the toolchain via VisualGDB Project Properties.
    ##[debug]Processed: ##vso[task.logissue type=Error;sourcepath=C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\SysprogsPlatform.targets;linenumber=98;columnnumber=2;code=;]No toolchain found. Please configure the toolchain via VisualGDB Project Properties.
         1>Das Projekt "D:\agent\_work\2\s\Solution1\Solution1.sln" (1) erstellt "D:\agent\_work\2\s\Solution1\StepperDriver\StepperDriver.vcxproj" (2) auf Knoten "1", Clean Ziel(e).
         2>C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\SysprogsPlatform.targets(98,2): error : No toolchain found. Please configure the toolchain via VisualGDB Project Properties. [D:\agent\_work\2\s\Solution1\StepperDriver\StepperDriver.vcxproj]
    ##[debug]Processed: ##vso[task.logdetail id=547a5245-7fd2-4679-a10c-56c280918d19;parentid=92f90a2d-c760-41ce-b6ad-fe9bf4d4bd6c;type=Build;result=Failed;finishtime=2021-03-04T08:27:34.3339519Z;progress=100;state=Completed;parentid=92f90a2d-c760-41ce-b6ad-fe9bf4d4bd6c;name=;]
         2>Die Erstellung des Projekts "D:\agent\_work\2\s\Solution1\StepperDriver\StepperDriver.vcxproj" ist abgeschlossen, Clean Ziel(e) -- FEHLER.
    ##[debug]Processed: ##vso[task.logdetail id=92f90a2d-c760-41ce-b6ad-fe9bf4d4bd6c;parentid=87d0cc4b-c6f6-4676-b065-88215161c2fe;type=Build;result=Failed;finishtime=2021-03-04T08:27:34.3359509Z;progress=100;state=Completed;parentid=87d0cc4b-c6f6-4676-b065-88215161c2fe;name=;]
         1>Die Erstellung des Projekts "D:\agent\_work\2\s\Solution1\Solution1.sln" ist abgeschlossen, Clean Ziel(e) -- FEHLER.
    
    Fehler beim Buildvorgang.
    
           "D:\agent\_work\2\s\Solution1\Solution1.sln" (Clean Ziel) (1) ->
           "D:\agent\_work\2\s\Solution1\StepperDriver\StepperDriver.vcxproj" (Clean Ziel) (2) ->
           (CheckSettings Ziel) -> 
             C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\SysprogsPlatform.targets(98,2): error : No toolchain found. Please configure the toolchain via VisualGDB Project Properties. [D:\agent\_work\2\s\Solution1\StepperDriver\StepperDriver.vcxproj]
    
        0 Warnung(en)
        1 Fehler

    If I manually start the process on the commandline, it will be successfully terminated.

         1>Das Projekt "D:\agent\_work\2\s\Solution1\Solution1.sln" (1) erstellt "D:\agent\_work\2\s\Solution1\StepperDrive
           r\StepperDriver.vcxproj" (2) auf Knoten "1", Clean Ziel(e).
         2>CleanPCH:
             Das Verzeichnis "VisualGDB\Release\PCH" ist nicht vorhanden. Es wird übersprungen.
           CoreCppClean:
             Das Verzeichnis "VisualGDB\Release\" wird erstellt.
    ##vso[task.logdetail id=02ac1252-6839-4d88-8ad8-c62172daec5e;parentid=ea4b1ca9-faaa-44da-809e-a167eb3c0cf8;type=Build;result=Succeeded;finishtime=2021-03-04T08:35:10.1161448Z;progress=100;state=Completed;parentid=ea4b1ca9-faaa-44da-809e-a167eb3c0cf8;name=;]
         2>Die Erstellung von Projekt "D:\agent\_work\2\s\Solution1\StepperDriver\StepperDriver.vcxproj" ist abgeschlossen
           (Clean Ziel(e)).
    ##vso[task.logdetail id=ea4b1ca9-faaa-44da-809e-a167eb3c0cf8;parentid=87d0cc4b-c6f6-4676-b065-88215161c2fe;type=Build;result=Succeeded;finishtime=2021-03-04T08:35:10.1211452Z;progress=100;state=Completed;parentid=87d0cc4b-c6f6-4676-b065-88215161c2fe;name=;]
         1>Die Erstellung von Projekt "D:\agent\_work\2\s\Solution1\Solution1.sln" ist abgeschlossen (Clean Ziel(e)).
    
    Der Buildvorgang wurde erfolgreich ausgeführt.
        0 Warnung(en)
        0 Fehler

    What settings are missing?
    I have one more idea.

    Maybe you can help me here?

    Thx a lot.

    Michael

    • This reply was modified 3 years, 8 months ago by mhs.
    #30078
    support
    Keymaster

    Most likely, your CI setup is running VisualGDB under a different user account with a different %LOCALAPPDATA% directory. You can double-check it by adding a custom pre-build step for displaying the %LOCALAPPDATA% and %USERNAME% variables (cmd /c echo %LOCALAPPDATA%). If these are different between the manual and scripted run, please double-check the user account in the CI settings.

    #30085
    mhs
    Participant

    Sorry, but after an update to my local machine and the required restart, the AzureDevOps Agent has also been restarted. After that, the build worked as expected.

    Thx a lot.

    Michael

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