-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
75 lines (63 loc) · 2.73 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>
<!-- By default every projects are packable except Testing, Benchmark, Profiler projects-->
<IsPackable>true</IsPackable>
<IsPackable Condition="$(MSBuildProjectName.EndsWith('Testing'))">false</IsPackable>
<IsPackable Condition="$(MSBuildProjectName.EndsWith('Benchmark'))">false</IsPackable>
<IsPackable Condition="$(MSBuildProjectName.EndsWith('Profiler'))">false</IsPackable>
<DebugType>portable</DebugType>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Platform>AnyCPU</Platform>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>13.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.25">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<PropertyGroup>
<Version>0.0.0</Version>
<Authors>Cédric L. Charlier</Authors>
<Owners>Seddryck</Owners>
<Company>nbiguity</Company>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Seddrycl/PocketCsvReader</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
<PackageIcon>icon\pocket-csv-reader.png</PackageIcon>
<SymbolPackageFormat Condition=" '$(DebugType)' != 'embedded' ">snupkg</SymbolPackageFormat>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\pocket-csv-reader.png" Pack="true" PackagePath="icon\" />
<None Include="..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<PropertyGroup>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup>
<!-- disable warning when XML comments are missing -->
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release' AND $(IsPackable) == true">
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningLevel>5</WarningLevel>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningLevel>5</WarningLevel>
<LangVersion>preview</LangVersion>
</PropertyGroup>
</Project>