Freigeben über


Open Source and Microsoft Developer Tools

Across Microsoft, we've seen a significant increase in our engagement with open source communities over the last few years - as consumers, producers and participants in open source software projects.  This has been particularly notable in our developer tools, where we have been collaborating extensively with open source developer communities across the industry.

Along with this increase in engagement, we also continue to evaluate and evolve our own internal policies and practices to further streamline the way we work with open source communities.  We are increasingly looking for ways to encourage and enable our engineers to consume, produce and participate in open source.

The open source ecosystem around our tools and platforms has played a critical role in their development, and I have been excited to see the growth of this ecosystem in recent years.  To continue to foster and recognize the great work being done in this community, we are updating our Microsoft MVP program guidelines to recognize open source activities with the same weight as other forms of community engagement.

I'm happy to see the work we've done in collaboration with the community over the last few years, but also looking forward to the opportunities we have in front of us.  In this post, I'd like to share an update on some of the ways we've been working with open source recently, and some thoughts on what's coming next.

Open Source in Visual Studio 2013 and TFS 2013

Visual Studio 2013 builds upon a lot of great open source software.  In fact, many developers are surprised to hear just how much OSS is part of Visual Studio and Team Foundation Server.  Scott Hanselman has been sharing this slide in some of his talks, summarizing the open source projects used in various Visual Studio offerings.

 

Some of these are projects started by individuals or teams at Microsoft, and now developed as open source.  Others are projects where we have become contributors to successful existing open source projects.  And others are places where we have been able to build on top of the great work in the open source community to provide richer capabilities in Visual Studio.

We couldn't ship Visual Studio without these projects, and I'd like to join Scott in thanking everyone who has contributed to these projects for the support they've provided to Visual Studio 2013 and TFS 2013.

To highlight some of the flavor of open source in Visual Studio, here's a few examples:

LibGit2

Visual Studio and Team Foundation Server now support Git source control natively, and Visual Studio developers are using distributed version control via Git across a wide variety of development activities in Visual Studio.

Our support for Git builds upon the libgit2 project, also used by GitHub and others in the Git community.  Several Microsoft employees in our version control team now actively contribute to this project, helping to support this cross-platform, linkable, Git library written in C, as well as providing first-class support for the library on Windows.  We also actively contribute to the libgit2sharp project which provides a .NET wrapper around the libgit2 library.  This makes it easy for any .NET developer to quickly build integration with Git. 

Building upon these two libraries in our Visual Studio integration enabled us to deliver great support for Git in Visual Studio while contributing back to the community and providing additional testing and validation for the open source library.

Node.js Tools for Visual Studio

We recently released a preview of Visual Studio support for Node.js.  This project supports editing, project management, profiling and debugging for the open source Node.js platform from within Visual Studio. 

The Node.js Tools for Visual Studio project is developed on CodePlex and has had major contributions from industry partners, including NPM management UI and Edit and Continue support.  The project also builds upon the open source Node.js platform generally, with support for debugging based on the open-source V8 engine's debugger protocol.

Speaking of Node.js, we also have an open source Node.js SDK for Windows Azure.  We have partnered with Microsoft Open Tech, our open source subsidiary, to make contributions to Node.js core to ensure it works great on Windows and Windows Azure.

ASP.NET Web Stack

Two years ago, we open sourced the ASP.NET web stack on CodePlex and transferred it to MS Open Tech.  Since then, the project has benefited from significant contributions from many developers from the community.  These ASP.NET technologies continue to be the foundations of one of the most heavily used project types in Visual Studio.

The ASP.NET developer ecosystem has also increasingly adopted open source technologies as core pieces of the modern ASP.NET web development platform.  In Visual Studio, we now include many of these projects as part of the default templates, including JSON.NET, OWIN, jQuery, Modernizr and Bootstrap.

TypeScript

We decided early on that we wanted TypeScript to be an open source language and compiler.  Developing TypeScript on CodePlex over the last 18 months has enabled us to evolve the language and tools rapidly toward the upcoming TypeScript 1.0. 

We've also seen a great open source community build up around TypeScript, including build system integration and IDE support in Eclipse, WebStorm and more.  One especially interesting project in the TypeScript open source community is DefinitelyTyped, which hosts a curated collection of TypeScript library typings for over 300 popular JavaScript libraries, with over 4000 contributions from over 350 people.  And in n Visual Studio 2013 Update 2, we've added features to make it easy to find these library typings, building on this great open source project.

Looking Forward

These projects are just a sampling of the places we're working with open source in our developer tools.  The trend these examples highlight is one that I fully expect to accelerate both in our developer tools and across additional platforms and applications at Microsoft.  I'm happy to see the benefits developers are seeing from our partnerships with open source over the last few years, but also looking forward to the opportunities we have ahead of us. 

Namaste!

Comments

  • Anonymous
    March 20, 2014
    I'm surprised that Scott's slide didn't include WiX, which was, if I recall, the first OSS project that Microsoft Dev Div produced!

  • Anonymous
    March 20, 2014
    That slide only includes what we ship today in VS. There's definitely more we have done as you point out.

  • Anonymous
    March 20, 2014
    How about your commitment to your own framework? Especially Windows Forms, WPF, Silverlight ? We really don't have desktop UI framework Supported without any real development? Silverlight is the last time I trust Microsoft I dont even bother to learn TypeScript, my time went to learn objective c, java instead Lets open source silverlight and WPF

  • Anonymous
    March 20, 2014
    So now is the time to bring back an updated version of classic Visual Basic 6. VB6 is still the #7 most popular language even though it is 16 years since the last version. And VB6 applications are still widely used in business and government. A new version should be compatible with existing VB6 source code (the big failing of VB.Net) and kept outside of .Net. And if Microsoft won't update VB6 they should open source it (dropping VB6, Silverlight and others without providing a way forward makes developers lose their trust in Microsoft - as a minimum Microsoft should open source obsoleted development software). The vote to bring back VB6: visualstudio.uservoice.com/.../3440221-bring-back-classic-visual-basic-an-improved-versi is now the #5 suggestion (out of over 8000) on the  Microsoft User Voice forum.

  • Anonymous
    March 20, 2014
    It is interesting to see that you are "updating our Microsoft MVP program guidelines to recognize open source activities with the same weight as other forms of community engagement." And yet if anyone dares post about VB6 in MSDN forums the post is quickly moved by Microsoft MVPs to the wilderland of "Off-Topic Posts (Do Not Post Here)" See: social.msdn.microsoft.com/.../bring-back-visual-basic-60-we-all-need-it It seems you will even make "open source activities" more important than the #7 most popular language - Microsoft's VB6.

  • Anonymous
    March 21, 2014
    The comment has been removed

  • Anonymous
    March 21, 2014
    Now if they would just open source WPF (and Silverlight as it has things that need moved back to WPF) so these UI tools could flow into Mono and then we could actually achieve one UI for any platform . . .

  • Anonymous
    March 21, 2014
    How about we open source the .NET runtime and GC please? What a fluff article.  Buy Xamarian already and OPEN SOURCE the main runtime of .NET already!

  • Anonymous
    March 23, 2014
    Great

  • Anonymous
    March 29, 2014
    Nice one