-
Notifications
You must be signed in to change notification settings - Fork 495
Expand file tree
/
Copy pathAmazon.Lambda.RuntimeSupport.csproj
More file actions
69 lines (60 loc) · 3.04 KB
/
Amazon.Lambda.RuntimeSupport.csproj
File metadata and controls
69 lines (60 loc) · 3.04 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
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\buildtools\common.props" />
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0</TargetFrameworks>
<Version>1.14.2</Version>
<Description>Provides a bootstrap and Lambda Runtime API Client to help you to develop custom .NET Core Lambda Runtimes.</Description>
<AssemblyTitle>Amazon.Lambda.RuntimeSupport</AssemblyTitle>
<PackageId>Amazon.Lambda.RuntimeSupport</PackageId>
<PackageTags>AWS;Amazon;Lambda</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateAssemblyVersionAttribute>true</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>true</GenerateAssemblyFileVersionAttribute>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>NU5048;NU1903;NU1902</NoWarn>
<LangVersion>9.0</LangVersion>
<!--
Disabling the EOL check because when we remove support in our libraries is a different and slower cycle then the framework's cycle.
We need to be confident there is no longer a critical mass of customers still using the framework version and we need to be
ready to make a major version release of our libraries.
-->
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(AlternateAssemblyName)'!='' ">
<AssemblyName>$(AlternateAssemblyName)</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(AlternateAssemblyName)'=='' ">
<AssemblyName>Amazon.Lambda.RuntimeSupport</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(ExecutableOutputType)'=='true' ">
<OutputType>Exe</OutputType>
<DefineConstants>$(DefineConstants);ExecutableOutputType</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0' or '$(TargetFramework)' == 'net9.0' or '$(TargetFramework)' == 'net10.0' or '$(TargetFramework)' == 'net11.0'">
<IsTrimmable>true</IsTrimmable>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
</PropertyGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Text.Json" Version="6.0.10" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Amazon.Lambda.Core\Amazon.Lambda.Core.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0' or '$(TargetFramework)' == 'net9.0' or '$(TargetFramework)' == 'net10.0' or '$(TargetFramework)' == 'net11.0'">
<ProjectReference Include="..\SnapshotRestore.Registry\SnapshotRestore.Registry.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="bootstrap.sh">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="bootstrap.net8.sh">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>