-
-
Notifications
You must be signed in to change notification settings - Fork 220
/
Directory.Build.targets
41 lines (35 loc) · 1.51 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<Project>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs" Condition="Exists('Properties\Resources.Designer.cs')">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.Designer.tt</DependentUpon>
</Compile>
<None Update="Properties\Resources.Designer.tt" Condition="Exists('Properties\Resources.Designer.tt')">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<DependentUpon>Resources.resx</DependentUpon>
</None>
<None Update="Properties\Settings.settings" Condition="Exists('Properties\Settings.settings')">
<Generator>PublicSettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Update="Properties\Settings.Designer.cs" Condition="Exists('Properties\Settings.Designer.cs')">
<AutoGen>True</AutoGen>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile">
<!-- see https://github.com/dotnet/wpf/pull/6680 -->
<RemoveDuplicates Inputs="@(Analyzer)">
<Output
TaskParameter="Filtered"
ItemName="FilteredAnalyzer"/>
</RemoveDuplicates>
<ItemGroup>
<Analyzer Remove="@(Analyzer)" />
<Analyzer Include="@(FilteredAnalyzer)" />
</ItemGroup>
</Target>
</Project>