Shiftkey
-
Angular: main.ts is missing from the typescript compilation
After upgrading an existing project from Angular 14 to 15 yesterday, the project would no longer run (with ng serve). The error message was rather confusing: Well, the file was obviously there and present in tsconfig(.app).json. Spent half a day… Continue reading
-
Clear user objects from master db in Microsoft SQL Server
Earlier this week I ran a script that inserted a lot of objects into a (new) database on my local machine, but forgot the USE newdatabase statement at the top. You guessed it… all my objects were created in the… Continue reading
-
Modify the message of an unpushed commit with git (and not only the last)
I am still learning my way around git, which I mostly use from within Visual Studio. Today I had to change a commit message because I noticed later that I had mentioned an incorrect ticket number. Fortunately I had not… Continue reading
-
Delphi: this version does not support command-line compiling (yes, it does)
There are a couple of rare cases where I do an automatic build of a Delphi application from a batch file. This uses the dcc32.exe command-line compiler. This worked great on one machine, but today it failed on another machine… Continue reading
-
A (more) concise way to test a SQL MERGE for differences if there are nulls involved
In SQL, if you need to compare two columns that are both nullable, your compare statements can quickly get out of hand (and a lot less readable along the way). While fixing a bug in my code, I found out… Continue reading
-
If you publish a WCF service using EF to IIS, do not forget to distribute sqlserver.dll manually
I’ve spent several hours this week debugging a WCF application using Entity Framework, that was published to an IIS server, only to have every call to the service fill with the error message “The type initializer for [My]DbContext has caused… Continue reading
-
Outlook 2016 latest update clears POP mailbox
I’m still investigating, but it appears as if Outlook 2016 is clearing my POP mailboxes, despite the accounts having been set to keep the mail for 14 days. This always worked flawlessly, but this morning (29 feb…) Outlook started deleting… Continue reading
-
Quickly connect to a VPN on Windows 10 (revisited)
Update (June ’17): it has taken more than 1,5 years since I posted this, but the Windows 10 “Creators Update” finally contains a Connect button right in the Network Connections flyout… 🙂 Earlier I wrote about a trick to make… Continue reading
-
You cannot use a null propagating operator in an expression tree lambda
One of the features I like about the new C# 6.0 is the null conditional operator, and I tend to use it everywhere I can (and should). Until yesterday, when at a statement I wasn’t expecting it, the compiler bit… Continue reading