-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
64 lines (57 loc) · 3.13 KB
/
Directory.Build.props
File metadata and controls
64 lines (57 loc) · 3.13 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
<Project>
<!-- General properties for all projects in the solution -->
<PropertyGroup>
<Product>LibEmiddle</Product>
<Copyright>Copyright © $(Company) $([System.DateTime]::Now.Year)</Copyright>
<Authors>Russell Benzing</Authors>
<Company>Russell Benzing Inc</Company>
<VersionPrefix>2.6.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/rbenzing/LibEmiddle</PackageProjectUrl>
<RepositoryUrl>https://github.com/rbenzing/LibEmiddle.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>encryption;e2ee;security;cryptography;libsodium</PackageTags>
</PropertyGroup>
<!-- Common build settings -->
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS1591</WarningsNotAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn> <!-- Suppress XML doc warnings -->
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<Features>strict</Features>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<!-- SourceLink Configuration -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<!-- Deterministic build settings for CI environments -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<DeterministicSourcePaths>true</DeterministicSourcePaths>
</PropertyGroup>
<!-- Platform-specific definitions -->
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<DefineConstants>$(DefineConstants);WINDOWS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">
<DefineConstants>$(DefineConstants);LINUX</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">
<DefineConstants>$(DefineConstants);OSX</DefineConstants>
</PropertyGroup>
<!-- Import custom build properties if present -->
<Import Project="$(MSBuildThisFileDirectory)build\Common.props" Condition="Exists('$(MSBuildThisFileDirectory)build\Common.props')" />
<Import Project="$(MSBuildThisFileDirectory)build\PackageVersions.props" Condition="Exists('$(MSBuildThisFileDirectory)build\PackageVersions.props')" />
</Project>