-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBitcoinKernel.Core.csproj
More file actions
48 lines (42 loc) · 2.33 KB
/
BitcoinKernel.Core.csproj
File metadata and controls
48 lines (42 loc) · 2.33 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- NuGet Package Metadata -->
<PackageId>BitcoinKernel.Core</PackageId>
<Version>0.1.2</Version>
<Authors>JanB84</Authors>
<Description>.NET bindings and managed wrappers for libbitcoinkernel. Provides direct access to Bitcoin Core consensus and validation logic with automatic memory management.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/JanB84/BitcoinKernel.NET</PackageProjectUrl>
<RepositoryUrl>https://github.com/JanB84/BitcoinKernel.NET</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>bitcoin;kernel;libbitcoinkernel;wrapper;core;blockchain</PackageTags>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- Bundle referenced projects into this package -->
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);IncludeReferencedProjectsInPackage</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>
<ItemGroup>
<!-- Include Interop: it will be bundled into the Core package -->
<ProjectReference Include="..\..\src\BitcoinKernel.Interop\BitcoinKernel.Interop.csproj" />
</ItemGroup>
<!-- When packing, include the Interop DLL and native libraries in this package -->
<Target Name="IncludeReferencedProjectsInPackage" DependsOnTargets="Build" BeforeTargets="GenerateNuspec">
<ItemGroup>
<!-- Include Interop DLL -->
<_PackageFiles Include="$(OutputPath)BitcoinKernel.Interop.dll">
<BuildAction>Content</BuildAction>
<PackagePath>lib/$(TargetFramework)/BitcoinKernel.Interop.dll</PackagePath>
</_PackageFiles>
<!-- Include native libraries from runtimes folder -->
<_PackageFiles Include="$(OutputPath)runtimes\**\*.*" Condition="Exists('$(OutputPath)runtimes')">
<BuildAction>Content</BuildAction>
<PackagePath>runtimes/%(RecursiveDir)%(Filename)%(Extension)</PackagePath>
</_PackageFiles>
</ItemGroup>
</Target>
</Project>