Using Git in Visual Studio has never been easier than in Visual Studio 2019

Visual Studio 2019 has many fantastic new features. Some of these features like the new start window make the use of Git in Visual Studio 2019 way easier than in the previous versions. Do you want to learn how to use Git in Visual Studio 2019?

Check out my new Pluralsight course

In my new Pluralsight course Using Git for Source Control in Visual Studio 2019, you will learn how to use Git in Visual Studio 2019 while working on a .NET application in the context of a small team.


Lessons learned from Building a Visual Studio Shell with UWP

Note: There's a MS Dev Show Episode where @ytechie, @carlschweitzer and I are talking about UWP and the Visual Studio Shell built as part of this post. You find it here on
UWP is the technology to build native applications for the Windows Platform. But there's still some stuff missing that is required by a typical line-of-business application for the classic desktop: TreeView, DataGrid, Validation, SqlClient and more. Some parts like a DataGrid are available as 3rd-party controls. Other parts like the TreeView are already in development, as you can see in the Windows Dev Platform Backlog. That backlog shows that Microsoft is working on a TreeView, which is awesome! And I'm pretty sure, at some point in the future we'll also get a DataGrid. This was the case for WPF and also for Silverlight. But let's see, the future will tell us and for today we've great 3rd-party DataGrids. But what else is required to build a classic desktop application? (more…)

From Visual Studio 2010 Release Candidate back to Beta 2

If you’ve played around with Visual Studio 2010 Release Candidate (RC), you sure have noticed that it’s pretty fast. E.g. the WPF- and Silverlight-Designers come up quickly and much faster that in Visual Studio 2008. But for now there are some reasons to wait before installing Visual Studio 2010 RC:
  • Silverlight 4 Beta is not supported. Silverlight 4 will be supported with the next public drop of Silverlight 4, what means when the Silverlight 4 RC is available. A date for that hasn’t been specified yet by Microsoft.
  • The available Preview Version for .NET 4.0 of Expression Blend doesn’t work with Visual Studio 2010 RC. It only works with Beta 2 of Visual Studio 2010. A new version will be available soon as the Expression Website says, but no one knows what "soon" means.
The second point I just noticed now. And so I decided to go back to Beta 2 cause I’ve a session about Model-View-ViewModel this week at BASTA! Spring in Darmstadt. To go back to Beta 2, make sure you uninstall everything of the Release Candidate. After I’ve uninstalled Visual Studio 2010 RC, I had additionally to remove .NET Framework 4.0 from Programs in Control Panel. Tip: Order the installed programs by date, then you see what you’ve to uninstall pretty good. After I’ve installed the Beta 2 again, everything worked fine. But I got an error when compiling my WPF-project telling me the following: "GenerateResource" task failed unexpectedly. System.DllNotFoundException: Unable to load DLL 'FileTracker.dll' …” After some search I found a connect-entry on with the solution. My folder "C:\Windows\Microsoft.NET\Framework” contained a “v4.0” directory additionally to the "v4.0.21006" directory installed with Visual Studio 2010 Beta 2. After deleting the additional folder that has a higher number than v4.0.21006 (it’s the RC ;-)), the Beta 2 works fine again and I can compile everything as expected. Find the connect-entry that pointed me to the solution here:

Visual Studio 2010 RC and Silverlight 4 Beta

Yesterday Visual Studio 2010 RC was released to MSDN Subscribers (find the link here), tomorrow it’s available for download for everyone. The performance is great as far as I can say by using it for at least one day. But it lacks on support for Silverlight 4 Beta. If you’re developing Silverlight 4 applications, it is recommended that you stay on Visual Studio 2010 Beta 2 until new bits of Silverlight come out. “New bits of Silverlight” means a Silverlight Release Candidate. It is expected also for this month. Wow, how the time is ticking away. I just thought it has been some days ago since I read Dr. Tim Sneaths post about the Silverlight 1.0 RC, and now we’ll have the 4.0 Release Candidate soon. The more I work with Silverlight 4.0, the more I love this Plugin. While I missed some things like e.g. implicit Styles and basedOn Styles in version 2.0, version 4.0 now contains both of them. Also printing is supported, WebCam- and Microphone-Access, Com-Interop for Out-Of-Browser apps etc. And the most important aspects for Business-Apps, Data-Access, Validation etc. are easy to do. With WCF RIA Services (formerly .NET RIA Services) you’ve a great framework for building Business apps. Also I’ve to say that I’m a total fan of the REST-based WCF Data Services (formerly ADO.NET Data Services), which are now also included in Sharepoint 2010. Silverlight contains a small Client API for accessing those services and make the classical CRUD-operations. Silverlight 4.0 contains many great features to build really powerful apps. But not yet with Visual Studio 2010 RC. As soon as the new Silverlight-bits will be available, you’ll read it here.

Visual Studio 2010 Release Candidate (RC) available next week

The launch date for Visual Studio 2010 RTM is the 12th of April. This month there’ll be a Release Candidate (RC) and Scott Guthrie mentioned on his blog in a post about ASP.NET MVC 2 RC that it will be available soon. Now everybody speculates about the date and what “soon” means. Days or weeks? The Blog about the Visual Studio quality tools contains the answer. Visual Studio 2010 RC will be released in the week of 8th February. Find the post with that information here:

Give your blog-code the "Visual Studio"-look

How do you write a blog-entry with code that has the same syntax-highlightning like Visual Studio has? I mean this look: <Code> <Code.Style> <Style TargetType="{x:Type Code}"> <Setter Property="IsReallyGoodReadable" Value="Yes"/> </Style> </Code.Style> </Code> There are many different blug-ins. But only a few get the code exactly look like in Visual Studio. To get your code looking like the code above, you have to do 2 steps (with a small 3rd css-step): 1. Install Live Writer: - LiveWriter is a tool for writing blog entries offline 2. Go to the Live Gallery and download the "Paste from Visual Studio add in": Link to the Paste-Plugin In LiveWriter you can paste the code direct from visual studio by clicking on the link of the plugin. After you've written your entry, you upload it, edit it online and finally publish it. Special things for Firefox: In Firefox the fontsize of the code is much smaller than in Internet Explorer 7. Fortunately the pasted code is inside a pre-Tag. The pre-Tags' class-Attribut is set to "code". So you can easily point to the "code" in your css and give the font a fixed size, and it'll look equal in Firefox and Internet Explorer. 3. The css-Step I've set the fontsize in the css-File of my Wordpress theme to 10. The gray background of the code and the dotted border is also specified in my css. Just past the following in your css to make the code exactly looking like the snippet above and the css-snippet itself: .code { font-family: Courier New; font-size: 10pt; background-color: #EEEEEE; margin: 0px; padding: 5px; border: dotted 1px #CCCCCC; } Tips: It's a good practice to enter all linebreaks in Visual Studio before you paste the code into LiveWriter. I normally paste and delete and paste and delete and so on... until it fits. Find more tips on Karl Shifflets blog Thanks to: Luca Bolognese and Charlie Calvert from Microsoft. They linked me to the plugin. Thanks also to Karl Shifflet who initiated this entry. I hope this entry helps you to write your post with this format. How do you paste your code today? Do you know other plugins that give your blog-code the Visual Studio-look?