Skip to content

Commit

Permalink
Mark as AoT compatible
Browse files Browse the repository at this point in the history
Mark the assembly as AoT compatible.
  • Loading branch information
martincostello committed Nov 14, 2023
1 parent 677a6c1 commit 1de9ddc
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<Description>Provides an in-memory test server for testing AWS Lambda functions.</Description>
<EnablePackageValidation>true</EnablePackageValidation>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IsPackable>true</IsPackable>
<OutputType>Library</OutputType>
<PackageId>MartinCostello.Testing.AwsLambdaTestServer</PackageId>
<PackageValidationBaselineVersion>0.7.0</PackageValidationBaselineVersion>
Expand All @@ -12,6 +13,13 @@
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Title>AWS Lambda Test Server</Title>
</PropertyGroup>
<PropertyGroup Condition=" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
<EnableAotAnalyzer>true</EnableAotAnalyzer>
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<IsAotCompatible>true</IsAotCompatible>
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.TestHost" />
</ItemGroup>
Expand Down

0 comments on commit 1de9ddc

Please sign in to comment.