-
Notifications
You must be signed in to change notification settings - Fork 66
/
SilkyAppHost.csproj
45 lines (42 loc) · 2.4 KB
/
SilkyAppHost.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Silky.Agent.Host" Version="$(SilkyVersion)" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.0" Condition="'$(type)' != 'gateway'">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.0" Condition="'$(type)' != 'gateway'">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="AspNetCore.HealthChecks.UI" Version="7.0.*" Condition="'$(type)' == 'gateway'" />
<PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="7.0.*" Condition="'$(type)' == 'gateway'" />
<PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="7.0.*" Condition="'$(type)' == 'gateway'" />
</ItemGroup>
<ItemGroup>
<None Update="appsettings.yaml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="appsettings.Development.yaml" Condition="'$(env)' != 'Apollo'">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="appsettings.Apollo.yaml" Condition="'$(env)' == 'Apollo'">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="appsettings.Production.yaml" Condition="'$(env)' != 'Apollo'">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="appsettings.ContainerDev.yaml" Condition="'$(env)' != 'Apollo'">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup Condition="'$(type)' != 'gateway'">
<ProjectReference Include="..\SilkyApp.Application\SilkyApp.Application.csproj" />
<ProjectReference Include="..\SilkyApp.Database.Migrations\SilkyApp.Database.Migrations.csproj" />
</ItemGroup>
</Project>