forked from bitfoundation/bitplatform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBit.Build.props
More file actions
68 lines (59 loc) · 3.43 KB
/
Bit.Build.props
File metadata and controls
68 lines (59 loc) · 3.43 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
<Project>
<PropertyGroup>
<!-- Info -->
<Authors>bit platform</Authors>
<Company>bit platform</Company>
<Product>bit platform</Product>
<Title>$(MSBuildProjectName)</Title>
<Description>$(MSBuildProjectName)</Description>
<Copyright>Copyright © bit platform 2026</Copyright>
<!-- Repo -->
<RepositoryUrl>https://github.com/bitfoundation/bitplatform</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<!-- nupkg -->
<PackageId>$(MSBuildProjectName)</PackageId>
<PackageTags>Bit</PackageTags>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<AllowedOutputExtensionsInPackageBuildOutputFolder Condition=" '$(Configuration)' == 'Release' ">$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<PackageDescription>$(MSBuildProjectName)</PackageDescription>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>PackageIcon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageProjectUrl>https://github.com/bitfoundation/bitplatform</PackageProjectUrl>
<!-- Version -->
<ReleaseVersion>10.4.3-pre-01</ReleaseVersion>
<PackageVersion>$(ReleaseVersion)</PackageVersion>
<PackageReleaseNotes>https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)</PackageReleaseNotes>
<Version Condition=" '$(Configuration)' == 'Release' ">$([System.String]::Copy($(ReleaseVersion)).Replace('-pre-', '.'))</Version>
<Deterministic>true</Deterministic>
<IsAotCompatible>true</IsAotCompatible>
<!-- Compile -->
<NeutralLanguage>en</NeutralLanguage>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<NoWarn>$(NoWarn);NU1605;CS1591;NU1701;CA1303;CA1308;CA2007;CA1014;CA2227;BL0007;CA1056;BL0005;CS1998</NoWarn>
<WarningsAsErrors>$(WarningsAsErrors);CS0114;RZ10012</WarningsAsErrors>
<!-- https://stackoverflow.com/a/46815541/2720104 -->
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<!-- README and LICENSE -->
<PropertyGroup>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', 'AssemblyOriginatorKeyFile.snk'))\AssemblyOriginatorKeyFile.snk))</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', 'LICENSE'))\LICENSE))">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', 'README.md'))\README.md))">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectDirectory)', 'PackageIcon.png'))\PackageIcon.png))">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>