-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
67 lines (58 loc) · 3.14 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
<Project>
<PropertyGroup Label="SDK Versions">
<NetVersion>net8.0</NetVersion>
<NetStandardVersion>netstandard2.0</NetStandardVersion>
</PropertyGroup>
<PropertyGroup Label="Package information">
<LangVersion>latest</LangVersion>
<NoWarn>$(NoWarn);CS1701;CS1702;CS1591;AD0001;IDE1006;</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Authors>Niels Pilgaard</Authors>
<Copyright>Copyright Niels Pilgaard</Copyright>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageIcon>logo_128x128.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<MinVerIgnoreHeight>true</MinVerIgnoreHeight>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>
<Deterministic>true</Deterministic>
<RepositoryUrl>https://github.com/NielsPilgaard/Pilgaard.BackgroundJobs</RepositoryUrl>
<PackageProjectUrl>https://github.com/NielsPilgaard/Pilgaard.BackgroundJobs</PackageProjectUrl>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>
<ItemGroup Label="Exposing Internals to Test Projects">
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(MSBuildProjectName).Tests</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(MSBuildProjectName).Benchmarks</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup Label="Shared Files and Packages for Nugets" Condition="'$(IsPackable)' == 'true'">
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="../../assets/logo/logo_128x128.png" Pack="true" PackagePath="" />
<PackageReference Include="MinVer" Version="6.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Label="Net Nugets" Condition="'$(TargetFramework)' == '$(NetVersion)'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
</ItemGroup>
<ItemGroup Label="NetStandard Nugets" Condition="'$(TargetFramework)' == '$(NetStandardVersion)'">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.18" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.18" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.18" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" />
</ItemGroup>
<ItemGroup Label="Test Projects" Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<Compile Include="../ApiApprovalTests.cs" Link="ApiApprovalTests.cs" />
<Using Include="Xunit" />
</ItemGroup>
</Project>