Reputation: 43
Is there any way to launch desktop application like Internet Explorer from task of TFS build?
Upvotes: 4
Views: 321
Reputation: 22255
TFSBuild runs as a service and cannot launch interactive (i.e. Apps with a UI) applications.
Update: Apparently it's possible to configure TFS Build to run in interactive mode if you absolutely must: http://msdn.microsoft.com/library/ms181712.aspx#interactive
Upvotes: 5
Reputation: 8343
You can but may not be what you are looking for. Every process launched from a Windows (NT) Service runs on Session 0, invisible to a logged on user. Also the environment is peculiar and not recommended for automated testing.
You have two major options:
Upvotes: 2
Reputation: 20949
Have you tried using Exec task? and pointing it to an executable you need?
<Target Name="RunIEForWhatEverReason">
<Exec Command="explorer.exe"/>
</Target>
Upvotes: 1