-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
105 lines (93 loc) · 4.15 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
100
101
102
103
104
105
<Project>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>preview</LangVersion>
<Nullable>disable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
<NuGetAudit>true</NuGetAudit>
<NuGetAuditLevel>low</NuGetAuditLevel>
<NugetAuditMode>all</NugetAuditMode>
<NoWarn>$(NoWarn);1591</NoWarn>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<EnablePackageValidation>true</EnablePackageValidation>
<!-- This should be the published baseline version to validate against.
<PackageValidationBaselineVersion>0.0.1</PackageValidationBaselineVersion>
-->
<!--
TODO: https://docs.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming
<IsTrimmable>true</IsTrimmable>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
-->
</PropertyGroup>
<!-- Common nuget package parameters and resources. -->
<PropertyGroup>
<PackageId>$(AssemblyName)</PackageId>
<Authors>Lumoin and contributors</Authors>
<Product>CoreLoop</Product>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Copyright>Lumoin</Copyright>
<PackageIcon>resources/coreloop-nuget-logo.png</PackageIcon>
<PackageProjectUrl>https://github.com/Lumoin/CoreLoop</PackageProjectUrl>
<Company>Lumoin</Company>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryUrl>https://github.com/Lumoin/CoreLoop</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- These are set by the continous integration build (see main.yml). -->
<PackageVersion>0.0.0</PackageVersion>
<AssemblyVersion>0.0.0</AssemblyVersion>
<FileVersion>0.0.0</FileVersion>
<Version>0.0.0</Version>
<AssemblyInformationalVersion>0.0.0</AssemblyInformationalVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<AppendToReleaseNotesProperty>
<![CDATA[
See full changelog at https://github.com/lumoin/CoreLoop/blob/main/CHANGELOG.md.]]>
</AppendToReleaseNotesProperty>
<ChangelogFile>../../CHANGELOG.md</ChangelogFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SIL.ReleaseTasks" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<!--
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Update="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Update="Microsoft.VisualStudio.Threading.Analyzers" Version="16.10.56">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
-->
<!-- Disabled temporarily until the API is stablized. -->
<!--
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
-->
<!-- Disabled temporarily until a good rule set is created. -->
<!--
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.354">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
-->
</ItemGroup>
<!-- As this file is used in project file locations, the path is relative to them. -->
<ItemGroup>
<None Include="../../resources/coreloop-nuget-logo.png">
<Pack>True</Pack>
<PackagePath>/resources</PackagePath>
</None>
</ItemGroup>
</Project>