Visual Basic Blog

A group blog from members of the VB team

Roslyn Primer – Part I: Anatomy of a Compiler

So, you’ve heard that VB (and C#) are open source now and you want to dive in and contribute. If you haven’t spent your life building compilers, you probably don’t know where to start. No worries, I’ll walk you through it. This post is the first of a series of blog posts focused on the Roslyn codebase. They’re intended as a primer ...

Easy Async and Await for VBs Part 1, or…

...letting your code do absolutely nothing! We’ve all been there, one way or the other. Either as users of an app or as the developer to whom users complained to: When a typical Win32 app is waiting for an operation to complete, we often get to see something like this: (image) In discussions about how to get a handle on such scenarios there...

Why VB2017 only supports consuming ref returning methods

Hi VBers, Last week Klaus wrote an amazing post detailing a number of improvements made to the Visual Basic IDE and language in Visual Studio 2017 (and he even forgot one, stay tuned for awesome). Regarding the new ref-return feature Jonathan Allen inquired as to why the design was so different from the one in C#. It's not uncommon for ...

What's New in Visual Basic 2017

Visual Studio 2017 just shipped, and with it shipped a new version of Visual Basic. With the new language strategy of the .NET Languages, the focus is again on Visual Basic’s original virtue: Provide editor, debugging and refactoring tools as well as language feature to ease complex tasks and boost every VB’s developer productivity without...

Digging Deeper into the Visual Basic Language Strategy

Today Mads made an excellent post about our overall .NET Language Strategy. As I know this will raise a lot of questions in the VB community I wanted to take an entire post on the VB team blog to dive deeper into how VB fits into that strategy and why and what that means in practical terms for us as a community. Looking Back Six and half years...

New VB T-Shirt Designs on the .NET Blog – Tell Us What You Think

[Update: You can get these cool T-Shirts @ the .NET Swag Store - get yours today!] Mads and Dustin showed off their cool VB and C# team t-shirts at BUILD and tons of people liked them and asked where they could get one. (image) So, we're thinking about making them available for purchase online. I've been working on some new designs and ...

Edit & Continue and Make Object ID Improvements in CTP 6

It's the beginning of a new year! According to Back to the Future Part II, everyone will be riding hoverboards in a couple months (and, let's be honest, Doc would love the HoloLens). In the meantime, let's explore the enhancements we've made to the Visual Studio debugging experience. In CTP 6, we improved the edits supported by Edit & ...

Better together: Visual Basic 14 and the Visual Studio 2015 Debugger

"Lambdas! Lambdas! Lambdas! Lambdas! ..." If you hadn't heard, Visual Studio 2015 will support the use of lambda expressions in the debugger windows. (image) We're all very excited to deliver on this longstanding TOP customer request. When LINQ was introduced in 2008 it was a game changer for the way .NET developers think about and code with ...