How to get contents of Test Explorer window in Visual Studio programmatically - visual-studio-2012

I am developing my first add-in for VS 2012. I need to programmatically find which test is selected by user from Test Explorer window.
How do i do that?
Any pointers and help is very much appreciated

I didn't get your question correctly,but May be this will help you ,
http://www.codeproject.com/Articles/173496/How-to-Create-a-Visual-Studio-Add-in-that-Launches

Related

WIX in VS 2012 Menu and Commands missing

I just installed WIX 3.10 and I'm using VS 2012 Ultimate. I have then successfully added a WIX setup project to my solution but that's about as far as I can go because the WIX menu is not showing up. The commands buttons that should appear at the top of the solution explorer window does not appear, neither does the shortcut button that appears just below the 'clean' button when you right click the project. I have tried uninstalling and restarting my PC several times but still the same.
snap shot of the solution explorer window.
I'm obviously missing something, but what? Thanks very much.
The designer you're looking for is from a 3rd party commercial product:
https://www.add-in-express.com/wix-designer/index.php
Normally one would write most Wix files by hand. It's relatively simple XML and the documentation isn't bad.
You can install the extension: Tools -> Extensions and Updates
Then in the search box type 'wix' and Enter.
The extension name is 'Designer for Visual Studio Wix Setup Projects':

Timeline graph in Visual Studio 2012 profiler missing

For some unknown reason the timeline graph shown on the summary page in Visual Studio 2012 is missing. This is the first time I use the profiler on a new computer and it just isn't there.
This is of course a huge issue as I am not able to filter which part of the run to profile. Typically I want to exclude initialization parts etc.
I've searched high and low for an option to enable/disable it but there seems to be none.
I tried to reinstall VS2012, but that did not help.
Has anyone experienced the same issue and does anyone know how to solve it?

Visual Studio 2012 Crashes on opening designer for 1 specific windows form

I'm currently working on a project. This project is shared by teamfoundation between colleagues.
I need to change some things in a windows form. But when i open the windows form in the designer, Visual Studio 2012 crashes and does a restart. It gives no errors, ontly that Visual Studio has stopped working. This problem only exist with this specific windows form.
With the same build on a computer of a colleague, it can be opened. My OS is windows 8(64bit) and the OS of the colleague is windows 7 (64bit).
Does this sound familiar to anyone, or is there a way to find errorlogs so i can see some more information?
Thank you in advance!
If you need more information, please let me know!
I'm experiencing the same issue with both VS2010 and VS2012. I found that if I do any form designer work in a VS instance, it is corrupting the designer file when it rewrites it. Currently, my work-around is to do the form designer work using VS2005 then compiling using VS2012. This is not my permanent solution but it's all I have so far. Good luck!

Reusing Visual Studio Debugging Visualizers

I am developing a Visual Studio Add-in where one of the controls is a settings editor similar to the locals or watch window. Because strings are one of the data types being displayed/supported in this control, I would like to add a text visualizer similar to Visual Studio's baked in visualizers for debugging. I have provided a picture below to illustrate exactly what I'm referring to:
http://imgur.com/fgSFDqw
Am I on my own, or is there a way to reuse the existing Visual Studio debugging visualizers in my project?
thanks :)
These visualizers appear to be tightly coupled to Visual Studio and are not available via any command or interface. If anybody discovers otherwise, I'd love to know :)

Where is Coded UI Test in Vs 2010 premium

I was trying to add coded UI test project to an existing project in Visual studio 2010 premium. I right click in the solution explorer and click Add new Item and it doesnot show any option of Coded UI test. Is there anything I need to install so that I can see those project options?
Regards,
Lalith
Ok, I got it. We have to first add test project and then right click that project to add Coded UI test.
Lalith

Resources