Skip to content

Sven Hübner IT

  • Home
  • Blog

Blog

  • Home
  • Blog
  • Page 2

Advanced MSBuild: Ignoring Bitness when building Plugins

Posted by By sven.huebner.it October 21, 2022Posted inBuild, Uncategorized
When developing plugins for an application that is shipped as both 32 and 64 bit, it may be possible to publish a single artifact working with both by building as AnyCpu, ignoring the MSB3270 warning.
Read More

Advanced MSBuild: Introduction

Posted by By sven.huebner.it October 15, 2022Posted inBuild
Knowing MSBuild can help you remove code duplication, enforce consistency in a large repo and improve developer experience.
Read More

The pain of using Excel files for user input

Posted by By sven.huebner.it October 8, 2022Posted inUncategorized
In 2022, reading Excel files in C# is still a pain and can require intricate knowledge of XLSX, even when using a library like NPOI.
Read More

Just for fun: changing runtime behavior with unreachable code

Posted by By sven.huebner.it October 1, 2022Posted inUncategorized
Unreachable code can still change compiler behavior and thus runtime method behavior. An example with `yield`.
Read More

Be more productive with more keystrokes: use named Regex capture groups

Posted by By sven.huebner.it September 24, 2022Posted inGeneral Development, Uncategorized
Use named capture groups when parsing with regular expressions to make the Regex self-contained and the matching code more readable.
Read More

Nuget Packaging Series 2: Beware of DLL version conflicts

Posted by By sven.huebner.it July 10, 2022Posted inBuild
Putting assemblies with different TFMs in the same nuget package can lead to runtime assembly loading errors because of transitive assembly reference version conflicts.
Read More

Closed Type Hierarchies with records … NOT!

Posted by By sven.huebner.it February 23, 2022Posted inGeneral Development1 Comment
TL;DR: You cannot create closed type hierarchies with record types because of the generated protected copy constructor.
Read More

Recap: One Year Using C# 9 with .NET Framework

Posted by By sven.huebner.it February 12, 2022Posted inGeneral Development
You can use C# 9 language features with .NET Framework or netstandard. After more than a year, I can recommend it.
Read More

Be more productive with different keystrokes: Explicit interface implementation

Posted by By sven.huebner.it January 8, 2022Posted inGeneral Development
Implement interfaces explicitly to convey intent, get more help from the compiler and maybe type less.
Read More

Be more productive with more keystrokes: seal all the things

Posted by By sven.huebner.it November 20, 2021Posted inGeneral Development
Declare your classes (and records!) sealed by default.
Read More

Posts pagination

Previous page 1 2 3 4 5 Next page
Copyright 2025 — Sven Hübner IT. All rights reserved. Sinatra WordPress Theme
Scroll to Top