Multi-target net4 and net8.0-windows: “‘TargetPlatformAttribute’ is inaccessible due to its protection level”
We’re trying to gradually transition projects from .NET 4x to .NET 8.
We’ve got some dependencies that are windows-only. So, to target newer .net versions we have to use the net8.0-windows
target instead of net8.0
or a netstandard version like netstandard2.0
.