net6-samples/Directory.Build.targets

22 строки
1.2 KiB
XML

<Project>
<Import Condition="$(RuntimeIdentifier.StartsWith('ios'))" Project="Directory.iOS.targets" />
<PropertyGroup>
<_DotNetPackageVersion>5.0.0-rc.1.20451.14</_DotNetPackageVersion>
</PropertyGroup>
<!--
The linker resolves some assembly references too eagerly, and
fails when it can't find them, so work around this by referencing
the missing assemblies.
See: https://github.com/mono/linker/issues/1139
-->
<ItemGroup Condition=" '@(PackageReference->WithMetadataValue('Identity', 'Xamarin.Forms')->Count())' != '0' ">
<PackageReference Include="System.CodeDom" Version="$(_DotNetPackageVersion)" />
<PackageReference Include="System.Diagnostics.EventLog" Version="$(_DotNetPackageVersion)" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="$(_DotNetPackageVersion)" />
<PackageReference Include="System.IO.Ports" Version="$(_DotNetPackageVersion)" />
<PackageReference Include="System.Security.Permissions" Version="$(_DotNetPackageVersion)" />
<PackageReference Include="System.Threading.AccessControl" Version="$(_DotNetPackageVersion)" />
</ItemGroup>
</Project>