Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
89 lines (77 loc) · 5.61 KB
/
Copy pathDirectory.Build.props
File metadata and controls
89 lines (77 loc) · 5.61 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
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" Condition="Exists($([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../')))" />
<PropertyGroup>
<TargetFrameworks Condition="'$(TargetFrameworks)' == '' and '$(TargetFramework)' == '' and !$(MSBuildProjectName.EndsWith('.Analyzers')) and !$(MSBuildProjectName.EndsWith('.Generators'))">net8.0;net9.0;net10.0</TargetFrameworks>
<VersionPrefix>2.0.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<!-- NuGet package metadata -->
<Authors>Erickson Lopez</Authors>
<Company>Erickson Lopez</Company>
<Copyright>Copyright © Erickson Lopez. MIT License.</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://ericksonlopez.dev/value-objects</PackageProjectUrl>
<RepositoryUrl>https://github.com/ericksonlopezf/dotnet-value-objects</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.png</PackageIcon>
<CommonPackageTags>dotnet;csharp;ddd;domain-driven-design;value-objects</CommonPackageTags>
<PackageTags>$(CommonPackageTags)</PackageTags>
<!-- Build settings -->
<LangVersion>14</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU5017;NU5118</WarningsNotAsErrors>
<NoWarn>$(NoWarn);NU1603;NU1608;CS0419;NU5017;NU5128;NU5019;NU5046;RS0024;NU1901;NU1902;NU1903;NU1904;NU5118</NoWarn>
<WarningLevel>5</WarningLevel>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<IsAotCompatible>true</IsAotCompatible>
<IsTrimmable>true</IsTrimmable>
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
<GenerateDocumentationFile Condition="'$(IsTestProject)' != 'true' and '$(MSBuildProjectName)' != 'EricksonLopez.ValueObjects.Samples' and '$(MSBuildProjectName)' != 'EricksonLopez.ValueObjects.Benchmarks'">true</GenerateDocumentationFile>
<!-- Strong Naming -->
<SignAssembly Condition="Exists('$(MSBuildThisFileDirectory)EricksonLopez.snk')">true</SignAssembly>
<PublicKey Condition="'$(SignAssembly)' == 'true'">0024000004800000940000000602000000240000525341310004000001000100655c867cb6d2e3a8d53e10d858994a49ea6b428de6e1e2eec19c71f0409345a7bf1649e9208282982347d90153f237f1aef003468e4a913598faa0b96815de53ede401790587fef88c7869884cdbf4372e74a44facf7dd6995e9b832285f8c548f531e1886d6712632139b617cd4f13988021b7cc32b5c3af18f52e19ae2a6cc</PublicKey>
<AssemblyOriginatorKeyFile Condition="Exists('$(MSBuildThisFileDirectory)EricksonLopez.snk')">$(MSBuildThisFileDirectory)EricksonLopez.snk</AssemblyOriginatorKeyFile>
<!-- Deterministic builds -->
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true' or '$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<!-- SourceLink -->
<EnableSourceLink Condition="'$(CI)' != 'true'">false</EnableSourceLink>
<SourceLinkCreate Condition="'$(CI)' != 'true'">false</SourceLinkCreate>
<PublishRepositoryUrl Condition="'$(CI)' == 'true'">true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols Condition="'$(MSBuildProjectName)' != 'EricksonLopez.ValueObjects.Generators' and '$(MSBuildProjectName)' != 'EricksonLopez.ValueObjects.Analyzers'">true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- Security -->
<NuGetAudit>true</NuGetAudit>
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>low</NuGetAuditLevel>
<!-- SourceLink and Symbol Packaging -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup Condition="'$(MSBuildProjectName)' != 'EricksonLopez.ValueObjects.Analyzers' and '$(MSBuildProjectName)' != 'EricksonLopez.ValueObjects.Generators'">
<Using Include="EricksonLopez.Result" />
</ItemGroup>
<ItemGroup Condition="'$(IsTestProject)' == 'true' and '$(MSBuildProjectName)' != 'EricksonLopez.ValueObjects.Analyzers.UnitTests' and '$(MSBuildProjectName)' != 'EricksonLopez.ValueObjects.Generators.UnitTests'">
<Compile Include="$(MSBuildThisFileDirectory)tests\Common\ValueObjectContractExtensions.cs" Link="Common\ValueObjectContractExtensions.cs" />
<Using Include="EricksonLopez.ValueObjects.UnitTests" />
</ItemGroup>
<ItemGroup Condition="$(MSBuildProjectDirectory.Contains('src'))">
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
<None Include="README.md" Pack="true" PackagePath="\" Condition="Exists('README.md')" />
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" Condition="!Exists('README.md')" />
<None Include="icon.png" Pack="true" PackagePath="\" Condition="Exists('icon.png')" />
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="\" Condition="!Exists('icon.png') and Exists('$(MSBuildThisFileDirectory)icon.png')" />
</ItemGroup>
<ItemDefinitionGroup Condition="'$(SignAssembly)' == 'true'">
<InternalsVisibleTo>
<Key>$(PublicKey)</Key>
</InternalsVisibleTo>
</ItemDefinitionGroup>
</Project>