Stop Copy-Pasting Your Build Configuration

Room 10Tue 12 May • 13:15–14:15DevIntermediate
You've seen it before: Repository A uses TreatWarningsAsErrors, Repository B doesn't. One team enables nullable reference types, another pretends it's still 2015. Someone added a custom analyzer set to Repository C six months ago, and now it's three versions behind everywhere else. Configuration drift isn't dramatic – it's death by a thousand paper cuts. MSBuild SDKs let you define your organization's "golden path" once and enforce it everywhere. We're talking project defaults, analyzer rulesets, shared props and targets, even standardized service registrations for logging and telemetry – all versioned, all opt-in, all maintained from a single NuGet package. When you update the SDK, every project that references it gets the changes automatically. Walk away with a template you can adapt for your own organization – and finally stop playing whack-a-mole with Directory.Build.props files.

About the speaker

Matthias Koch

Matthias is a passionate C# developer and likes to talk about clean code, testing and tooling in general. Much of his spare time is devoted to his very own open-source projects. He is working at JetBrains as developer advocate for the .NET department.