Run .exe from TeamCity
I realize this has been beaten to death. For the life of me I can't figure it out. I have a simple test that needs to call an executable. I'm programming in C# and just creating a process to open a simple .exe.
Here is everything I have tried:
- Running TeamCity from console (agent.bat start, added task scheduler with full rights)
- Created a user that auto logs in, no screensaver, no locking
- Used tightvnc with no login
- Used the computer that the agent is installed on (no rdp or vnc)
I'm using an xUnit.net build step.... its calling xunit.console.runner in powershell (I think, I can't figure out where to see exactly the command its calling)
The test runs fine manually through command line...but will not open the GUI in teamcity. I've gotten around the session 0 (interactive session) by doing the above, but can't figure out what to try next to get the .exe to open.
Any advice is appreciated.
Please sign in to leave a comment.