This is something that comes up pretty often – when you’re building an application, or maybe a library you’re sharing as a NuGet package to your friends: You’ll need to share a dependency or two with your particular package, and you don’t want your end users having to reference those libraries, too. Sounds easy, right? But alas, it’s not as simple as one would like :) (Well, unless you’re happy running dotnet publish every time – that should work, but I want to have these…Continue reading How to copy dependent assemblies to the bin folder on build?
This article explains how to loop through all supported cultures on any given machine that’s able to run .NET. The code sample is in C# and outputs an HTML table you can copy – but obviously you can adapt it to your needs! This was something I needed to support some weird documentation task way back when – and it took me like a year to finish this blog post and push it out from the drafts… Background Okay. So I needed to figure out…Continue reading Experiment: DateTime formats