-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
66 lines (57 loc) · 2.24 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
<Project>
<PropertyGroup>
<!-- By default every projects are packable except Testing projects-->
<IsPackable>true</IsPackable>
<IsPackable Condition="$(MSBuildProjectName.EndsWith('Testing'))">false</IsPackable>
<DebugType>portable</DebugType>
</PropertyGroup>
<PropertyGroup>
<LangVersion>12.0</LangVersion>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Platform>AnyCPU</Platform>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.25">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<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://seddryck.github.io/DubUrl</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
<PackageIcon>icon\DubUrl-icon-128.png</PackageIcon>
<SymbolPackageFormat Condition=" '$(DebugType)' != 'embedded' ">snupkg</SymbolPackageFormat>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\misc\icon\DubUrl-icon-128.png" Pack="true" PackagePath="icon\" />
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<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>