Powershell is hell

Why do you get a “Missing closing ‘)’ in expression.” error when piping a collection to a for loop in PowerShell?

Today, I’m writing about a stupid error. Yeah, I do make those every now and then. After adding a for loop to my PowerShell script, I started to get annoying ParserErrors about my for loop missing a closing bracket. But it was NOT missing one – what gives? Problem So,…Continue reading Why do you get a “Missing closing ‘)’ in expression.” error when piping a collection to a for loop in PowerShell?

Some men want to watch the build fail

How to kill the process causing the “MSB3021 Unable to copy file — The process cannot access the file because it is being used by another process.” error?

This time, we’re taking a look at an annoying situation where your previous debugging session, or perhaps your dotnet serve, somehow locks up your dlls or other important files that you kind of need to overwrite when rebuilding. And that, well, causes your build or debugging session to fail. So,…Continue reading How to kill the process causing the “MSB3021 Unable to copy file — The process cannot access the file because it is being used by another process.” error?