A source code only package which allows you to use .NET's nullable attributes in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework.
That looks absolutely fantastic, many many thanks @gtbuchanan!
I will do some local tests and then look into publishing a new version of the package if nothing else seems to break.
The workaround of using the .pp extension no longer works in MSBuild 17.2.1 when using
TargetFrameworks
. Builds fail with an error like this:or this (depending on the situation):
Using the
Visible
MSBuild property makes the intent more clear anyway. The approach is adapted from here.Related to https://github.com/manuelroemer/IsExternalInit/pull/14