-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
94 lines (82 loc) · 4.06 KB
/
Directory.Build.props
File metadata and controls
94 lines (82 loc) · 4.06 KB
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
<Project>
<PropertyGroup Condition="'$(Configuration)' == 'Debug' ">
<WarningsNotAsErrors>CS1030</WarningsNotAsErrors>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<LangVersion>default</LangVersion>
</PropertyGroup>
<!--Code Analysis-->
<PropertyGroup>
<AnalysisLevelDocumentation>latest-minimum</AnalysisLevelDocumentation>
<AnalysisLevelGlobalization>latest-minimum</AnalysisLevelGlobalization>
<AnalysisLevelInteroperability>latest-minimum</AnalysisLevelInteroperability>
<AnalysisLevelDesign>latest-recommended</AnalysisLevelDesign>
<AnalysisLevelMaintainability>latest-recommended</AnalysisLevelMaintainability>
<AnalysisLevelNaming>latest-recommended</AnalysisLevelNaming>
<AnalysisLevelPerformance>latest-recommended</AnalysisLevelPerformance>
<AnalysisLevelSingleFile>latest-recommended</AnalysisLevelSingleFile>
<AnalysisLevelReliability>latest-recommended</AnalysisLevelReliability>
<AnalysisLevelSecurity>latest-recommended</AnalysisLevelSecurity>
<AnalysisLevelUsage>latest-recommended</AnalysisLevelUsage>
<AnalysisLevelStyle>latest-recommended</AnalysisLevelStyle>
<!--Enforce analyzers during build-->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<PropertyGroup>
<Version>2.5.0-local</Version> <!-- Default value, overridden in CI -->
<PackageId>$(MSBuildProjectName)</PackageId>
<RepositoryType>git</RepositoryType>
<Authors>Orphis AG</Authors>
<Company>Orphis AG</Company>
<Description>
DocxTemplater is a powerful C# library for generating DOCX documents from customizable templates.
It enables seamless data binding to templates, making document creation accessible even for non-programmers.
Key features include placeholder replacement, loops, conditional blocks, dynamic tables, Markdown and HTML support,
and image embedding. Optional packages extend functionality with advanced image handling and Markdown support,
making DocxTemplater an ideal tool for automating complex document workflows.
</Description>
<RepositoryUrl>https://github.com/Amberg/DocxTemplater</RepositoryUrl>
<ProjectUrl>https://github.com/Amberg/DocxTemplater</ProjectUrl>
<PackageTags>docx;template;templating;document-generation;automation;placeholder;looping;conditional-blocks;markdown;html-to-docx;image-embedding;CSharp;OpenXML;data-binding</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' != 'Debug' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!--<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
Used TreatWarningsAsErrors instead due a bug - https://github.com/dotnet/roslyn-analyzers/issues/6281
-->
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug' ">
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<!--<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
Used TreatWarningsAsErrors instead due a bug - https://github.com/dotnet/roslyn-analyzers/issues/6281
-->
</PropertyGroup>
<!-- Workaround for https://github.com/dotnet/roslyn/issues/41640 -->
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591;CS1573</NoWarn>
</PropertyGroup>
<ItemGroup>
<None Include="../readme.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<PropertyGroup>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>
<!-- Symbol packages (.snupkg) and SourceLink for debugging into the package -->
<PropertyGroup>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>