I have a VSIX built from sources downloaded from the gallery. When running it in an experimental Visual Studio I get an error window saying:
Microsoft Visual Studio
Failed to load results from the load test results store.
Cross-thread operation not valid: Control 'labelStatus' accessed from a thread other than the thread it was created on.
I think I understand the error but not why it appears at this time nor how I might debug my own extensions without getting this message.
More details:
I have tried two extensions.
Trailing Whitespace Visualizer from
http://vsixgallery.com/extension/4c1a78e6-e7b8-4aa9-8812-4836e051ff6d/
Web Performance Test Results Extension from
https://wptre.codeplex.com/
Both of these extensions build fine. I set their project properties to have a debug start action to run devenv.exe with parameters of "/rootsuffix Exp". Keying F5 starts an experimental Visual Studio with the extension loaded. Within the newly running Visual Studio I open a solution containing a project with a ".loadtest" file and open that ".loadtest" file. Now I have the context menu (and also the command icon) for "Open and manage results". I am attempting to build and run an existing VSIX as a learning exercise before starting to write my VSIX that is intended help with Visual Studio web and load test results.
Running
Microsoft Windows 10 Enterprise
Version 10.0.10586 Build 10586
Microsoft Visual Studio Enterprise 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038
Regards
Adrian