# Context For [LibVLCSharp](https://github.com/videolan/libvlcsharp), we need to support Xamarin.Forms projects and old .net versions as well as the new .net6.0 tfms # The issue A repro can be found here : https://github.com/jeremyVignelles/repro-tfm-msbuild-sdk-extras It seems that `NET6_0_OR_GREATER` is not defined anywhere and `NET6_0` is only defined in `net6.0` and not `net6.0-windows` It also seem that I can't use the new top-level statements in such projects.