-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathHSMServer.csproj
More file actions
92 lines (82 loc) · 3.49 KB
/
HSMServer.csproj
File metadata and controls
92 lines (82 loc) · 3.49 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
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ApplicationIcon>Icon.ico</ApplicationIcon>
<DocumentationFile>HSMSwaggerComments.xml</DocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Version>3.40.20</Version>
<Authors>HSM team</Authors>
<Company>Soft-FX</Company>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright © 2025</Copyright>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<TypescriptCompileBlocked>true</TypescriptCompileBlocked>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup>
<EnableSDKContainerSupport>true</EnableSDKContainerSupport>
<ContainerImageTags>$(Version);latest</ContainerImageTags>
<ContainerImageName>$(MSBuildProjectName)</ContainerImageName>
</PropertyGroup>
<ItemGroup>
<Content Remove="nlog.config" />
<Content Update="Config\appsettings.Development.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="Config\appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.1" />
<PackageReference Include="HSMDataCollector.HSMDataCollector" Version="3.4.12" />
<PackageReference Include="HSMDataCollector.HSMSensorDataObjects" Version="3.1.11" />
<PackageReference Include="HtmlSanitizer" Version="9.0.886" />
<PackageReference Include="Markdig" Version="0.41.3" />
<PackageReference Include="NLog.Web.AspNetCore" Version="6.0.5" />
<PackageReference Include="SSH.NET" Version="2025.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.3" />
<PackageReference Include="System.Linq.Async" Version="6.0.3" />
<PackageReference Include="Telegram.Bot" Version="22.6.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\database\HSMDatabase\HSMDatabase.csproj" />
<ProjectReference Include="..\HSMCommon\HSMCommon.csproj" />
<ProjectReference Include="..\HSMServer.Core\HSMServer.Core.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Images\" />
</ItemGroup>
<ItemGroup>
<None Include="nlog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Crypto">
<HintPath>..\..\lib\BouncyCastle.Crypto.dll</HintPath>
</Reference>
<Reference Include="LightningDB">
<HintPath>..\..\lib\LightningDB.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="ServerConfiguration\DefaultCertificates\default.server.pfx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>default.server.pfx</TargetPath>
</EmbeddedResource>
</ItemGroup>
<Target Name="NpmProdBuild" AfterTargets="Build" Condition="'$(Configuration)'=='Release'">
<Exec Command="npm install" />
<Exec Command="npm run build_prod" />
</Target>
<Target Name="NpmDevBuild" AfterTargets="Build" Condition="'$(Configuration)'=='Debug'">
<Exec Command="npm install" />
<Exec Command="npm run build_dev" />
</Target>
</Project>