-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDirectory.Build.props
75 lines (65 loc) · 3.35 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
<Project>
<PropertyGroup Condition="'$(Configuration)' == 'Debug' ">
<WarningsNotAsErrors>CS1030</WarningsNotAsErrors>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
</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>
<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>
</Project>