... otherwise if I target netstandard2.0 then following warning is shown:
warning NU1701: Package 'Xam.Plugin.Version 1.0.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
... otherwise if I target netstandard2.0 then following warning is shown: