Rcs.Api.csproj
1.93 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
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<!-- Debug 模式使用 Development 环境 -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<EnvironmentName>Development</EnvironmentName>
</PropertyGroup>
<!-- Release 模式使用 Production 环境 -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<EnvironmentName>Production</EnvironmentName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.22" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
</ItemGroup>
<ItemGroup>
<Reference Include="HHECS.Communication">
<HintPath>..\Rcs.Plc\libs\HHECS\HHECS.Communication.dll</HintPath>
<Private>true</Private>
</Reference>
<Reference Include="HslCommunication">
<HintPath>..\Rcs.Plc\libs\HHECS\HslCommunication.dll</HintPath>
<Private>true</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Rcs.Application\Rcs.Application.csproj" />
<ProjectReference Include="..\Rcs.Infrastructure\Rcs.Infrastructure.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Remove="OtherControllers\Models\TaskCompletionRequest.cs" />
</ItemGroup>
<!-- Avoid recursive publish when output folder is under project root -->
<ItemGroup>
<Content Remove="publish\**" />
<None Remove="publish\**" />
</ItemGroup>
</Project>