forked from icsharp/log4net.Kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
41 lines (37 loc) · 2 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
<Project>
<PropertyGroup>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<TreatSpecificWarningsAsErrors />
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<Authors>Divverence B.V.</Authors>
<PackageIconUrl>http://www.divverence.com/divverencelogo.png</PackageIconUrl>
</PropertyGroup>
<!-- PACKAGE AND VERSION CREATION -->
<Import Project=".build\*.Build.props" />
<ItemGroup>
<Compile Include="..\..\.build\SharedAssemblyInfo*.cs" Link="SharedAssemblyInfo.cs" />
</ItemGroup>
<!-- Divv.Gear.Configuration -->
<ItemGroup>
<ConfigurationFiles Include="etc\**\*.properties" />
<ConfigurationFiles Include="etc\**\*.ini" />
<ConfigurationFiles Include="etc\**\*.json" />
<ConfigurationFiles Include="etc\**\*.config" />
<ConfigurationFiles Include="etc\**\*.hocon" />
</ItemGroup>
<Target Name="MyAfterBuild" AfterTargets="Build">
<Copy SourceFiles="@(ConfigurationFiles)" DestinationFiles="@(ConfigurationFiles->'$(ProjectDir)bin\$(Configuration)\etc\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" UseHardlinksIfPossible="true" />
</Target>
<Target Name="MyAfterPublish" AfterTargets="Publish">
<Copy SourceFiles="@(ConfigurationFiles)" DestinationFiles="@(ConfigurationFiles->'$(PublishDir)..\etc\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
</Target>
</Project>