Investigate how to test netstandard2.0+ #763

Closed
opened 2026-01-29 14:44:58 +00:00 by claunia · 2 comments
Owner

Originally created by @xoofx on GitHub (Nov 17, 2025).

After commit fb69859, because I wanted to bump Microsoft.NET.Test.Sdk, it is no longer possible to use net6.0 in the tests, which means that we are no longer exercising netstandard2.0+ Markdig code.

Not sure what to do with this, if there is a solution that is not too complicated, or we have to live with this.

cc: @MihaZupan

Originally created by @xoofx on GitHub (Nov 17, 2025). After commit fb69859, because I wanted to bump `Microsoft.NET.Test.Sdk`, it is no longer possible to use `net6.0` in the tests, which means that we are no longer exercising `netstandard2.0+` Markdig code. Not sure what to do with this, if there is a solution that is not too complicated, or we have to live with this. cc: @MihaZupan
claunia added the enhancement label 2026-01-29 14:44:58 +00:00
Author
Owner

@MihaZupan commented on GitHub (Nov 17, 2025):

Put up a PR that tests it only in CI by patching the library to only build 1 TFM, then running .NET 8/9 tests against it.

We're also missing .NET Framework coverage since 40781737c3, I might have to look at fixing that at some point

@MihaZupan commented on GitHub (Nov 17, 2025): Put up a PR that tests it only in CI by patching the library to only build 1 TFM, then running .NET 8/9 tests against it. We're also missing .NET Framework coverage since 40781737c35c6c12c02969a4771376ce334c4691, I might have to look at fixing that at some point
Author
Owner

@xoofx commented on GitHub (Nov 17, 2025):

Put up a PR that tests it only in CI by patching the library to only build 1 TFM, then running .NET 8/9 tests against it.

Hacky solution, but okish 😀

@xoofx commented on GitHub (Nov 17, 2025): > Put up a PR that tests it only in CI by patching the library to only build 1 TFM, then running .NET 8/9 tests against it. Hacky solution, but okish 😀
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#763