why-i-built-libresharp-keeping-net-open-as-its-packages-go-commercial.md

Why I Built LibreSharp: Keeping .NET Open as Its Packages Go Commercial

If you’ve built anything in .NET in the last ten years, you’ve almost certainly used AutoMapper, MediatR, FluentAssertions or MassTransit. They were so standard that people added them to new projects on autopilot. As of 2026, all four are commercial.

I’m not here to complain about that. But it’s left a lot of teams in an awkward spot, and there was nowhere to see the whole picture in one place. So I built LibreSharp: a free list of .NET packages that went commercial, with the free alternatives for each.

What Changed

This has been building for a while. IdentityServer went commercial in 2020, and ImageSharp and QuestPDF added revenue limits in 2023. Then 2025 and 2026 brought a wave. AutoMapper, MediatR, FluentAssertions and MassTransit all relicensed, while NPOI, Verify, WiX and json-everything introduced maintenance fees.

Together, the packages on the list have billions of downloads. A big chunk of the .NET code running in production today sits on top of them.

Not every change is the same, though, and the difference matters. LibreSharp sorts them into five buckets. Some are relicensed, meaning new versions aren’t open source any more, though old versions keep their original licence. Some are free under a revenue limit, typically for organisations under $1M. Some charge a maintenance fee: the source stays open, but large organisations are asked to pay for the official packages. A couple are abandoned, like SpecFlow, which the community picked up as Reqnroll. And one, Moq, is a trust issue: the licence never changed, but a maintainer decision drove a lot of people away.

Lumping a maintenance fee in with a full relicense is unfair to the maintainers who chose to stay open source, so the site keeps them separate.

Why a List Was Needed

The awkward part is how teams find out. Usually it’s a routine package bump that quietly changes the licence, or a security fix that only ships in the paid version. By then the package is everywhere in the codebase, nobody budgeted for it, and someone has to decide something by Friday.

At that point you want three answers: what changed, what was the last free version, and what can I use instead? That information was scattered across GitHub issues, blog posts, Reddit threads and README diffs. LibreSharp puts it in one table. A few rows from it:

Package What changed Last free version Free alternatives
AutoMapper Now commercial 14.0.0 (Jul 2025) Mapperly, Mapster, manual mapping
MediatR Now commercial 12.5.0 (Jul 2025) Mediator, Wolverine, Brighter
MassTransit Now commercial 8.x (Jan 2026) Wolverine, Rebus, Brighter

There are 22 packages on the full list so far. If you’re weighing up MediatR in particular, I compared it with ServiceStack and Wolverine in an earlier post.

Not an Angry Site

It would have been easy to make this a site about villains. I deliberately didn’t.

LibreSharp never criticises a maintainer for changing their licence, and it always credits the original authors. Maintaining open source is real work, usually unpaid, and people are allowed to decide they want to get paid for it. Every fact on the site needs a source, and anything not yet confirmed is marked “Needs checking” instead of stated as fact.

It also points to healthy, existing alternatives before forks. Where the community has already forked something, such as AwesomeAssertions from FluentAssertions or Reqnroll from SpecFlow, it sends people there rather than encouraging yet another fork.

The home page puts it better than I can here: “We are not against maintainers getting paid. If a paid licence is right for your team, buy it. This list exists so everyone, including students, small teams and non-profits, knows their options.”

Open Source Needs Support

Every package on that list started as someone giving their time away. Companies built businesses on that work, often worth far more than any licence fee, and very few gave anything back. Maintainers burned out or realised they were doing a full-time job for nothing, and commercial licensing was the result. If you’re annoyed about a relicense, that’s the bit to be annoyed about.

Swapping one free library for another doesn’t fix anything on its own. Mapperly, Wolverine, Shouldly and OpenIddict are maintained by people too, and if everyone moves to them and nobody helps, they’ll end up in the same place.

So, a few things I’d ask of any team using .NET open source, and especially any company:

If a project stayed open source and asks big organisations to pay a maintenance fee, and you’re a big organisation, pay it. That’s the model we should want to succeed.

Run dotnet list package on your main solution and pick the three packages you’d miss most. Most of them have GitHub Sponsors or Open Collective. A small monthly amount from every company using a library would change life for the people maintaining it. If your organisation has a budget for commercial tools, open source dependencies belong in it too.

Contribute back where you can. Fix the bug instead of working around it, or write the docs page you wish had existed.

And if a commercial package really is the best tool for your team, buy it. That’s a fine outcome. LibreSharp is there so you get to choose, not to talk you out of it.

Helping Out

LibreSharp is a non-profit community project. It isn’t affiliated with any of the packages it lists, and it doesn’t ask for donations. What it needs is contributions.

Each package is one YAML file in data/packages. Every page has an “Edit this page on GitHub” link, or you can open a pull request with a new data/packages/<slug>.yml. The rules are short: every fact needs a source, the tone stays neutral, and alternatives must be free and open source or built into .NET. Several entries are still marked “Needs checking” if you want an easy first contribution. If you’re not sure about something, open an issue.

The data is published as JSON under CC BY 4.0. Someone could build a CI check on top of it that flags dependencies that have gone commercial, and I’d love to see that.

There’s also a free SaaS Starter template for .NET built entirely on open-source libraries. I’ll write that one up separately.

If something is missing from the list, send a pull request. And go and sponsor something you depend on.

Licences change. Always check a package’s own licence before relying on the list.