How to get DTE from Visual Studio process ID?

DTE is an automation framework that is used to programmatically control Visual Studio, often from another process. It internally uses COM remoting to execute commands from another process on the VS UI thread. A while back I have written about How to start Visual Studio programmatically and get the DTE object to control the devenv.exe…

5

Copy Code in HTML format with Visual Studio 2010

Today Jason has announced the Visual Studio 2010 Productivity Power Tools – a set of VS 2010 extensions that we released to complement and enhance the built-in 2010 features. You can either install the Pro Power Tools from here or just go to the Tools –> Extension Manager and type "Pro Power Tools" in the…

23

New IDE Features in Visual Studio 2010 for C# Developers

Check out this great overview about the new C# IDE features in Visual Studio 2010: http://blogs.msdn.com/csharpfaq/archive/2010/05/10/new-ide-features-in-visual-studio-2010-for-c-developers.aspx Before you go there, a little pop quiz to check if you already know and use these shortcuts. What do they do? Ctrl+, Ctrl+. Ctrl+Alt+Space Ctrl+Shift+Up/Ctrl+Shift+Down Ctrl+K,T

1

Stress testing Visual Studio 2010 – Part 2

Read part 1 In the first part of this series I’ve started talking about our general approach to stress testing Visual Studio. In this post I’ll talk about what parameters we’re measuring. In the next post I’ll explain how we’re measuring them and what tools we use for it. VM The main metric that we…

1

How to investigate and report Visual Studio issues

With the Visual Studio 2010 RC released, here are some tips to help you help us find and fix the remaining issues. We want Visual Studio to have no bugs. If you want the same and are willing to help us a little, read on! And thanks so much for trying it out! Help –>…

7

Stress testing Visual Studio 2010

In the past several months Visual Studio and I have been really busy stress testing each other. This post is a general overview on what we’ve been up to and what kind of testing we’re doing. I’ve learned a lot about stress testing and I have to say it’s actually a lot of fun, so…

18

Unable to cast COM object … to IVsGlobalUndoCapableUndoManager

Hi all, sorry for the absense – we’re all really busy fixing Visual Studio 2010 performance, memory consumption, improving stability and fixing last minute bugs. Good news: if you’re seeing this: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.VisualStudio.Editor.Implementation.IVsGlobalUndoCapableUndoManager’. This operation failed because the QueryInterface call on the COM component for…

3

Visual Studio 2010 Beta 2 Known Issues – Part 2

This post continues my unofficial list of known issues in VS 2010 Beta 2 (see Part 1). As we continue getting Beta 2 feedback and investigating issues, it’s time for another update on the issues we’ve been seeing. Please keep in mind that due to the volume of the issues, I’m only mentioning the ones…

23

Visual Studio 2010 New Editor screenshot

I’m very happy with how the Visual Studio editor improved since Beta1: This is all WPF and includes the WPF 4.0 text rendering changes (DWrite integration). Note the new Zoom combobox in the bottom-left (which is the visual counterpart of Ctrl+ScrollWheel). Also the cross to close the tab is now located ON the tab, and…

18

Reflection with dynamic

This past summer the Visual C# IDE team was fortunate enough to have Paul van Brenk intern with us. Paul is a great guy and an experienced .NET developer from Rotterdam, Netherlands, who is interested in Azure, cloud computing and many other things. He also happens to be one of the contributors for dasBlog, which…

0