wpf/Directory.Build.targets

18 строки
742 B
XML

<Project>
<Import Project="$(WpfArcadeSdkTargets)"
Condition="Exists('$(WpfArcadeSdkProps)') And Exists('$(WpfArcadeSdkTargets)')"/>
<Import Sdk="Microsoft.DotNet.Arcade.Wpf.Sdk"
Project="Sdk.targets"
Condition="!Exists('$(WpfArcadeSdkProps)') Or !Exists('$(WpfArcadeSdkTargets)')"/>
<!-- Temporarily remove analyzers from framework references until we can update to VS 2022 which handles them correctly
https://github.com/dotnet/wpf/issues/5224 -->
<Target Name="_RemoveFrameworkReferenceAnalyzers" AfterTargets="ResolveTargetingPackAssets">
<ItemGroup>
<Analyzer Remove="@(Analyzer)" Condition="'%(Analyzer.FrameworkReferenceName)' != ''" />
</ItemGroup>
</Target>
</Project>