Hi guys i am trying to make a build for a VSTO click once addin on VSTS, however the requirements i had is that this should be machine independent therefor i cant use an on-premise agent. the current build procces we have is quite complex and at some point calls and .exe which was a VB class to do some things on the publish folder. However when i try to run it via powershell command on VSTS this error appears
##[error]start : This command cannot be run due to the error: TThis operation requires an interactive window station.
Is there a way (possible a poweshell script) to give enough admin rights run time on the hosted agent to lunch this .exe? i have tried passing in the --no-interactive flag and didn't help also i have tried removing any code from the VB class that has to do with console and rebuild the .exe still no success.