I have an azure pipeline using Network Service account to run. All the while, there is no issue until last month it started fail to build.
After troubleshooting, I found out that when building vdproj file, it hit the error below:
E:BuildAgent5_work1ssrcXXX_SetupXXX_Setup.vdproj : error : The
operation was canceled. [E:BuildAgent5_work1sbuildBuild.proj]One or more projects in the solution were not loaded correctly.
I tried to use PsTools to login as Network Service account and open devenv for the vdproj file, it hit the error below:
Unable to open project: xxxx.vdproj
I have checked the Microsoft Visual Studio Installer Project 2022 extension already installed and enabled. I have also granted the Network Service account to the extension folder but the issue still persists.
Is there anything else I can check?