Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

In order to produce a plug in and incorporate it (merge) easily with Visual Studio 2010.

I was wondering which language was used by Microsoft to create it?

In order to offer our product to Microsoft, we must know which language is better to integrate with Visual Studio.

Was it pure C++? A friend of mine told me it was written in C#.

share|improve this question

closed as off-topic by Jim G., MichaelT, jwenting, mattnz, Bart van Ingen Schenau May 27 at 7:44

  • This question does not appear to be about software development within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

11  
You seem to be on a wrong way. To write plugins, you don't have to care about the language used to create Visual Studio, but the technology used to extend it, i.e. MEF. –  MainMa May 10 '11 at 21:06
2  
I want to echo what MainMa said: As someone who used to work in Visual Studio (Team System Database Edition - "TeamData"), I can tell you that while Visual Studio was initially built in C++, a very large proportion of the features in newer versions of VS (2008 and 2010 in particular) were written in C# & .NET. TeamData, for example, was 99.999% pure C#. If you want to write add-ins for VS, you can build them in C++ or C# - it depends entirely upon the complexity of your code, how fast you need it to be, how much memory you're willing to consume, how productive you want to be, etc. –  Richard Turner May 10 '11 at 22:08
13  
Was visual studio made using visual studio? –  Peter Olson May 10 '11 at 22:59
3  
I built a VS2010 plug-in recently and had no idea what language Visual Studio was written in, nor did I need that information to create the plug-in. The plug-in API abstracts you from having to directly interact with the Visual Studio code. –  JohnFx May 11 '11 at 1:37
4  
This question appears to be off-topic because it is about the ingredients of a specific software application. There is no problem to solve. –  Jim G. May 25 at 23:26
add comment

2 Answers

up vote 14 down vote accepted

It was written using WPF, so that would be XAML and (most likely) C#.

Wikipedia just states:

The IDE shell has been rewritten using the Windows Presentation Foundation (WPF), whereas the internals have been redesigned using Managed Extensibility Framework (MEF)

which doesn't help with the non XAML part.

I suspect that there will be C++ elements in there too.

Expression Blend uses WPF too.

Interestingly I've not been able to find any more information on this other than "it was written in WPF".

share|improve this answer
    
just bc its WPF does not mean C#: you can write WPF using VB as well as C# :) –  Muad'Dib May 11 '11 at 4:45
1  
@Muad'Dib - I know. I should have made it clear I was assuming C# rather than VB.NET or even F#! –  ChrisF May 11 '11 at 7:49
    
@Muad'Dib: They're all the same thing anyway... –  Mehrdad May 2 '12 at 6:19
1  
@Mehrdad That's a common misconception. That's like saying C and Pascal are the same because the compilers both compile to native code. –  MetalMikester May 2 '12 at 10:31
    
@MetalMikester - If you don't know that VB.NET and C# and F# compile into the same code then you don't know either very wel..All three compile down to the same CLR code. –  Ramhound May 2 '12 at 13:06
show 3 more comments

Much of the interface of Visual Studio 2010 was written using WPF (C# and XAML), but they had so much good working code already built in C++ (I think I remember hearing that a good portion of Intellisense is still in C++, but I may be wrong) that they kept and built on top of. Check out Snoop to take a peek at the internals of the interface.

You can learn more about the development of VS2010 by watching this video: http://www.microsoftpdc.com/2009/CL09

In regards to developing an extension for Visual Studio, assuming that's what you are doing, I would recommend C#.

share|improve this answer
    
just bc its WPF does not mean C#: you can write WPF using VB as well as C# :) –  Muad'Dib May 11 '11 at 4:46
    
That's true. But I think I did hear or read that they used C# (if my memory serves correctly). –  awmckinley May 11 '11 at 4:52
add comment

protected by gnat May 24 at 20:18

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.