Forum Discussion

Manikumar_78's avatar
Manikumar_78
Copper Contributor
Aug 18, 2023

Support of Microchip Studio CLI commands in Azure Pipeline

OS - Windows 10

When I tried the command "AtmelStudio.exe hyperstat. atsln /build debug_bootloader /out log_debug_bootloader.txt" locally in the system it works fine, but when I run the same command using PowerShell task it shows like "Microchip Studio has detected a configuration issue. To correct this, please restart as Administrator. For more information please visit: http://go.microsoft.com/fwlink/?LinkId=558821"

I tried all possibilities but I got the same result.

Can you guys help me with this?

  • serhio17's avatar
    serhio17
    Copper Contributor
    Hi all,
    We have a similar problem running AtmelStudio in our CI/CD - we use the GitHub action on Windows 2022 and run the cmd command:
    "C:\Program Files (x86)\Atmel\Studio\7.0\AtmelStudio.exe" OurProject.atsln /rebuild release /out .\log.txt
    From time to time we get the error: "Microchip Studio has detected a configuration issue. To correct this, please restart as Administrator. For more information please visit: http://go.microsoft.com/fwlink/?LinkId=558821".
    After restarting the GitHub agent service it works fine for a while, then the problem reappears and we have to restart the service again.
    Please help to solve the problem.
    Thanks!

Resources