forked from Dotnet-Boxed/Templates
/
OrleansTemplate.Server.csproj
76 lines (70 loc) · 4.8 KB
/
OrleansTemplate.Server.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
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
<Project Sdk="Microsoft.NET.Sdk.Web">
<!--#if (AuthoringMode)-->
<PropertyGroup>
<!-- Modify these constants to enable/disable a feature to debug the template. Note that this only affects the C#. -->
<DefineConstants>$(DefineConstants);ApplicationInsights;TLS;Docker;HealthCheck;OpenTelemetry</DefineConstants>
<!-- Workaround to build this project: https://github.com/dotnet/templating/issues/1438 -->
<ApplicationInsights>true</ApplicationInsights>
<TLS>true</TLS>
<Docker>true</Docker>
<OpenTelemetry>true</OpenTelemetry>
</PropertyGroup>
<!--#endif-->
<PropertyGroup Label="Build">
<TargetFramework>net5.0</TargetFramework>
<!-- Used to store connection strings and other sensitive settings, so you don't have to check them into your source
control provider. Only use this in Development, it is not intended for Production use.
See http://docs.asp.net/en/latest/security/app-secrets.html -->
<UserSecretsId>OrleansTemplate.Server-113f2d04-69f0-40c3-8797-ba3f356dd812</UserSecretsId>
<!--#if (!IIS)-->
<!-- Disable publishing of a web.config file for IIS when calling dotnet publish. -->
<!--#endif-->
<IsTransformWebConfigDisabled Condition="'$(IIS)' == 'false'">true</IsTransformWebConfigDisabled>
</PropertyGroup>
<PropertyGroup Label="Docker" Condition="'$(Docker)' == 'true'">
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerfileContext>..\..</DockerfileContext>
</PropertyGroup>
<PropertyGroup Label="Package">
<Authors>PROJECT-AUTHOR-XML</Authors>
<Company>PROJECT-AUTHOR-XML</Company>
<Product>PROJECT-TITLE-XML</Product>
<Description>PROJECT-DESCRIPTION-XML</Description>
<Copyright>Copyright © PROJECT-AUTHOR-XML. All rights Reserved</Copyright>
</PropertyGroup>
<ItemGroup Label="Package References">
<PackageReference Include="OrleansDashboard" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="5.0.0" />
<PackageReference Include="Microsoft.Orleans.Clustering.AzureStorage" Version="3.4.3" />
<PackageReference Include="Microsoft.Orleans.CodeGenerator.MSBuild" PrivateAssets="all" Version="3.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Orleans.Connections.Security" Version="3.4.3" Condition="'$(TLS)' == 'true'" />
<PackageReference Include="Microsoft.Orleans.OrleansTelemetryConsumers.AI" Version="3.4.3" Condition="'$(ApplicationInsights)' == 'true'" />
<PackageReference Include="Microsoft.Orleans.OrleansTelemetryConsumers.Counters" Version="3.4.3" />
<PackageReference Include="Microsoft.Orleans.OrleansTelemetryConsumers.Linux" Version="3.4.3" />
<PackageReference Include="Microsoft.Orleans.Persistence.AzureStorage" Version="3.4.3" />
<PackageReference Include="Microsoft.Orleans.Reminders.AzureStorage" Version="3.4.3" />
<PackageReference Include="Microsoft.Orleans.Server" Version="3.4.3" />
<PackageReference Include="Microsoft.Orleans.Transactions" Version="3.4.3" />
<PackageReference Include="Microsoft.Orleans.Transactions.AzureStorage" Version="3.4.3" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" Condition="'$(Docker)' == 'true'" />
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.0.1" Condition="'$(OpenTelemetry)' == 'true'" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.0.0-rc5" Condition="'$(OpenTelemetry)' == 'true'" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.0.0-rc5" Condition="'$(OpenTelemetry)' == 'true'" />
<PackageReference Include="Serilog" Version="2.10.0" />
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.1.3" />
<PackageReference Include="Serilog.Enrichers.Process" Version="2.0.1" />
<PackageReference Include="Serilog.Enrichers.Span" Version="1.2.0" Condition="'$(OpenTelemetry)' == 'true'" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Exceptions" Version="7.0.0" />
<PackageReference Include="Serilog.Sinks.ApplicationInsights" Version="3.1.0" Condition="'$(ApplicationInsights)' == 'true'" />
</ItemGroup>
<ItemGroup Label="Project References">
<ProjectReference Include="..\OrleansTemplate.Abstractions\OrleansTemplate.Abstractions.csproj" />
<ProjectReference Include="..\OrleansTemplate.Grains\OrleansTemplate.Grains.csproj" />
</ItemGroup>
</Project>