Skip to content

Blog

Clear Your Windows Terminal With cls

In a Linux console we can use the clear command to get rid of all text output in that windows. This is a great help to quickly get an empty terminal without opening another console.

If we try to run the same command in the CMD on Windows, we get an error about a missing command. For a long time, I accepted this behaviour as a lack of functionality in the Windows terminal. However, recently I wondered if I just missed a command and started looking for a solution.

3 Database Viewers for SQLite

SQLite is a great little database for all kinds of personal data storage. Not only does it have drivers for all current programming languages, but it also works without the hassle of creating a server to host it. Today I give you a quick overview on 3 no-code tools to explore your SQLite databases.

How to Fix the T4 Debugger in Visual Studio 16.9.X

Visual Studio 16.9 introduced a bug that prevents us from debugging T4 templates. The debugger rushes to the end of the template and fails with this message:

FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.Validation, Version=16.8.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Inherit XML Documentation Comments in C

I am a big fan of the XML documentation comments in C#. This documentation is directly in the code and has therefore the biggest chance to be updated when the code changes.

However, when you demand to document all public methods, you end up with a lot of repetitive documentation. As with duplicated code, you will update only the parts you remember, and the others will be outdated in no time. That quickly negates the benefits of having the documentation in the first place.