title: Why does Inspect.exe not display the AutomationId and other UIAutomation properties when running in debug?
body: <p>I've been using Inspect.exe from the Windows SDK to examine the properties of a WinForms application but noticed that I didn't see any of the properties (for example, the AutomationId) whilst running the application from Visual Studio (F5 to run.) However, if I ran the .exe from the bin\debug folder I could see the properties fine.</p>
  
  <p>The source I was using was example code downloaded from <a href="http://archive.msdn.microsoft.com/UIACustomProviders/Release/ProjectReleases.aspx?ReleaseId=4340" rel="nofollow">UI Automation Custom Provider Samples</a> - Part 3.</p>
  
  <p>I'm wondering why this happened since I'm sure another machine that I had tried this on worked fine and I wasted time poking around in debug mode wondering why my UI Automation properties weren't visible. Obviously there's a workaround but I'd like to understand why this was happening and have a record of the problem for other people to find!</p>