-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMiningcore.csproj
More file actions
152 lines (141 loc) · 8.14 KB
/
Miningcore.csproj
File metadata and controls
152 lines (141 loc) · 8.14 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>Miningcore</AssemblyName>
<RootNamespace>Miningcore</RootNamespace>
<ServerGarbageCollection>true</ServerGarbageCollection>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
<PropertyGroup>
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
<IsOSX Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsOSX>
</PropertyGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(AssemblyName).Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup>
<Compile Remove="Api\Notifications\**" />
<Compile Remove="Blockchain\Bitcoin\Transactions\**" />
<Compile Remove="DataAccess\**" />
<Compile Remove="Maintenance\**" />
<EmbeddedResource Remove="Api\Notifications\**" />
<EmbeddedResource Remove="Blockchain\Bitcoin\Transactions\**" />
<EmbeddedResource Remove="DataAccess\**" />
<EmbeddedResource Remove="Maintenance\**" />
<None Remove="Api\Notifications\**" />
<None Remove="Blockchain\Bitcoin\Transactions\**" />
<None Remove="DataAccess\**" />
<None Remove="Maintenance\**" />
</ItemGroup>
<ItemGroup>
<None Remove="config2.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
<PackageReference Include="Autofac" Version="8.2.0" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
<PackageReference Include="CircularBuffer" Version="1.4.0" />
<PackageReference Include="blake3" Version="0.5.1" />
<PackageReference Include="GitVersion.MsBuild" Version="5.12.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Isopoh.Cryptography.Argon2" Version="1.3.0" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.0" />
<PackageReference Include="Newtonsoft.Json.Schema" Version="4.0.1" />
<PackageReference Include="Npgsql" Version="9.0.3" />
<PackageReference Include="NSwag.AspNetCore" Version="14.3.0" />
<PackageReference Include="NSwag.CodeGeneration.CSharp" Version="14.3.0" />
<PackageReference Include="NSwag.MSBuild" Version="14.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NLog.Extensions.Hosting" Version="5.3.8" />
<PackageReference Include="AutoMapper" Version="12.0.1" />
<PackageReference Include="Dapper" Version="2.1.35" />
<PackageReference Include="FluentValidation" Version="11.11.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.11.0" />
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" />
<PackageReference Include="MailKit" Version="3.5.0" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.0.2" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<PackageReference Include="NBitcoin" Version="7.0.42" />
<PackageReference Include="NBitcoin.Altcoins" Version="3.0.28" />
<PackageReference Include="NBitcoin.Zcash" Version="3.0.0" />
<PackageReference Include="NBitcoin.Secp256k1" Version="3.1.6" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog" Version="5.4.0" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.4.0" />
<PackageReference Include="Polly" Version="8.3.1" />
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
<PackageReference Include="prometheus-net.AspNetCore" Version="8.1.0" />
<PackageReference Include="prometheus-net" Version="8.2.0" />
<PackageReference Include="protobuf-net" Version="3.2.30" />
<PackageReference Include="SHA3.Net" Version="1.1.0" />
<PackageReference Include="System.Diagnostics.Process" Version="4.3.0" />
<PackageReference Include="System.Reactive" Version="6.0.0" />
<PackageReference Include="Grpc.AspNetCore" Version="2.71.0" />
<PackageReference Include="Google.Protobuf" Version="3.30.2" />
<PackageReference Include="Grpc.Net.Client" Version="2.66.0" />
<PackageReference Include="Grpc.Tools" Version="2.71.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Reference Include="WebSocketManager">
<HintPath>..\..\libs\WebSocketManager.dll</HintPath>
</Reference>
<Reference Include="WebSocketManager.Common">
<HintPath>..\..\libs\WebSocketManager.Common.dll</HintPath>
</Reference>
<Reference Include="ZeroMQ">
<HintPath>..\..\libs\ZeroMQ.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<None Update="coins.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<!-- Reference pre-built library binaries on Windows -->
<ItemGroup Condition="'$(IsWindows)' == 'true'">
<NativeLibs Include="$(ProjectDir)..\..\libs\runtimes\win-x64\*.dll" />
<None Include="@(NativeLibs)" Visible="False">
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Remove="schema.json" />
<Content Include="config.schema.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<!-- Build library binaries from source on Linux -->
<Target Name="BuildNativeLibsLinux" AfterTargets="AfterBuild" Condition="'$(IsLinux)' == 'true'">
<Exec Command="(cd $(ProjectDir) && sh build-libs-linux.sh $(OutDir))" />
</Target>
<!-- Include library binaries in publish on Windows -->
<Target Name="NativeLibsPublishIncludeWin" BeforeTargets="PrepareForPublish" Condition="'$(IsWindows)' == 'true'">
<ItemGroup>
<Libs Include="$(ProjectDir)..\..\libs\runtimes\win-x64\*.dll" />
<ContentWithTargetPath Include="@(Libs->'%(FullPath)')" RelativePath="%(Libs.Identity)" TargetPath="%(Libs.Filename)%(Libs.Extension)" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>
</Target>
<!-- Include library binaries in publish on Linux -->
<Target Name="NativeLibsPublishIncludeLinux" BeforeTargets="PrepareForPublish" Condition="'$(IsLinux)' == 'true'">
<ItemGroup>
<Libs Include="$(OutDir)*.so" />
<ContentWithTargetPath Include="@(Libs->'%(FullPath)')" RelativePath="%(Libs.Identity)" TargetPath="%(Libs.Filename)%(Libs.Extension)" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>
</Target>
</Project>