-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
99 lines (86 loc) · 4.84 KB
/
Directory.Build.props
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<Project>
<PropertyGroup>
<LangVersion>preview</LangVersion>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<IsTestProject
Condition="$(MSBuildProjectFullPath.Contains('test')) and ($(MSBuildProjectName.EndsWith('.Tests')) or $(MSBuildProjectName.EndsWith('.TestBase')))">true</IsTestProject>
<IsSampleProject
Condition="$(MSBuildProjectFullPath.Contains('\sample\')) or $(MSBuildProjectFullPath.Contains('/sample/'))">true</IsSampleProject>
<IsAppProject
Condition="$(MSBuildProjectFullPath.Contains('\app\')) or $(MSBuildProjectFullPath.Contains('/app/'))">true</IsAppProject>
</PropertyGroup>
<PropertyGroup>
<CommonIgnoreFiles>$(MSBuildThisFileDirectory)**\obj\*;$(CommonIgnoreFiles)</CommonIgnoreFiles>
<CommonIgnoreFiles>$(MSBuildThisFileDirectory)**\bin\*;$(CommonIgnoreFiles)</CommonIgnoreFiles>
</PropertyGroup>
<PropertyGroup>
<CommonPropsFiles>$(MSBuildThisFileDirectory)**\*.props;$(CommonPropsFiles)</CommonPropsFiles>
<CommonPropsFiles>$(MSBuildThisFileDirectory)**\*.targets;$(CommonPropsFiles)</CommonPropsFiles>
</PropertyGroup>
<ItemGroup>
<None
Include="$(CommonPropsFiles)"
Exclude="$(CommonIgnoreFiles)">
<Link>.props\%(RecursiveDir)\%(Filename)%(Extension)</Link>
</None>
</ItemGroup>
<PropertyGroup>
<CommonAssetFiles>$(MSBuildThisFileDirectory)**\README.*;$(CommonAssetFiles)</CommonAssetFiles>
<CommonAssetFiles>$(MSBuildThisFileDirectory)**\LICENSE;$(CommonAssetFiles)</CommonAssetFiles>
<CommonAssetFiles>$(MSBuildThisFileDirectory)**\.editorconfig;$(CommonAssetFiles)</CommonAssetFiles>
<CommonAssetFiles>$(MSBuildThisFileDirectory)**\.gitignore;$(CommonAssetFiles)</CommonAssetFiles>
<CommonAssetFiles>$(MSBuildThisFileDirectory)**\NuGet.config;$(CommonAssetFiles)</CommonAssetFiles>
<CommonAssetFiles>$(MSBuildThisFileDirectory)**\global.json;$(CommonAssetFiles)</CommonAssetFiles>
</PropertyGroup>
<ItemGroup>
<None Include="$(CommonAssetFiles)" Exclude="$(CommonIgnoreFiles)">
<Link>.assets\%(RecursiveDir)\%(Filename)%(Extension)</Link>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="*">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<PolySharpable Condition="'$(PolySharpable)' == ''">false</PolySharpable>
<PolySharpable Condition="$(TargetFramework.StartsWith('netcoreapp')) or $(TargetFramework.StartsWith('net4')) or $(TargetFramework.StartsWith('netstandard'))">true</PolySharpable>
</PropertyGroup>
<ItemGroup Condition="'$(PolySharpable)' == 'true'">
<PackageReference Include="PolySharp" Version="1.13.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<!-- <PropertyGroup>-->
<!-- <PolySharpable Condition="'$(PolySharpable)' == ''">false</PolySharpable>-->
<!-- <PolySharpable Condition="$(TargetFramework.StartsWith('netcoreapp')) or $(TargetFramework.StartsWith('net4')) or $(TargetFramework.StartsWith('netstandard'))">true</PolySharpable>-->
<!-- <PolySharpIncludeGeneratedTypes Condition="'$(PolySharpable)' == 'true'">$(PolySharpIncludeGeneratedTypes);IsExternalInit;</PolySharpIncludeGeneratedTypes>-->
<!-- </PropertyGroup>-->
<!-- -->
<!-- <ItemGroup Condition="'$(PolySharpable)' == 'true'">-->
<!-- <PackageReference Include="PolySharp" Version="1.13.2">-->
<!-- <PrivateAssets>all</PrivateAssets>-->
<!-- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>-->
<!-- </PackageReference>-->
<!-- </ItemGroup>-->
<!--
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFrameworks)' == ''">
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFrameworks)' != ''">
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Shipped.txt" />
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Unshipped.txt" />
</ItemGroup>
-->
<Import
Project="$(MSBuildThisFileDirectory)build\fody.props"
Condition="Exists('$(MSBuildThisFileDirectory)build\fody.props')"/>
</Project>