maui/eng/Microsoft.Extensions.targets

61 строка
2.3 KiB
XML

<Project>
<PropertyGroup Condition="'$(TargetFramework.Contains(net6.0))' == 'true'">
<_MicrosoftHostingVersion>6.0.0-preview.3.21174.7</_MicrosoftHostingVersion>
<_MicrosoftDependencyInjectionVersion>$(_MicrosoftHostingVersion)</_MicrosoftDependencyInjectionVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework.Contains(net6.0))' != 'true'">
<_MicrosoftHostingVersion>5.0.0</_MicrosoftHostingVersion>
<_MicrosoftDependencyInjectionVersion>5.0.1</_MicrosoftDependencyInjectionVersion>
</PropertyGroup>
<PropertyGroup>
<_MicrosoftProjectReunionVersion>0.5.0</_MicrosoftProjectReunionVersion>
<_MicrosoftGraphicsWin2DVersion>0.5.0.13</_MicrosoftGraphicsWin2DVersion>
<_MicrosoftMauiGraphics>6.0.100-preview.3.61</_MicrosoftMauiGraphics>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0-ios' Or '$(TargetFramework)' == 'net6.0-maccatalyst'">
<!-- Debugger workaround -->
<MtouchExtraArgs>$(MtouchExtraArgs) --setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs>
</PropertyGroup>
<ItemGroup>
<PackageReference
Update="Microsoft.Maui.Graphics"
Version="$(_MicrosoftMauiGraphics)" />
<PackageReference
Update="Microsoft.Extensions.Configuration"
Version="$(_MicrosoftHostingVersion)"
/>
<PackageReference
Update="Microsoft.Extensions.DependencyInjection"
Version="$(_MicrosoftDependencyInjectionVersion)"
/>
<PackageReference
Update="Microsoft.Extensions.Hosting.Abstractions"
Version="$(_MicrosoftHostingVersion)"
/>
<PackageReference
Update="Microsoft.Extensions.Logging.Abstractions"
Version="$(_MicrosoftHostingVersion)"
/>
<PackageReference
Update="Microsoft.Extensions.Logging"
Version="$(_MicrosoftHostingVersion)"
/>
<PackageReference
Update="Microsoft.ProjectReunion"
Version="$(_MicrosoftProjectReunionVersion)"
/>
<PackageReference
Update="Microsoft.ProjectReunion.Foundation"
Version="$(_MicrosoftProjectReunionVersion)"
/>
<PackageReference
Update="Microsoft.ProjectReunion.WinUI"
Version="$(_MicrosoftProjectReunionVersion)"
/>
<PackageReference
Update="Microsoft.Graphics.Win2D"
Version="$(_MicrosoftGraphicsWin2DVersion)"
/>
</ItemGroup>
</Project>