|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <PackageId>ReflectionEventing.DependencyInjection</PackageId> |
| 5 | + <TargetFrameworks>netstandard2.0;netstandard2.1;net462;net6.0;net8.0</TargetFrameworks> |
| 6 | + <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
| 7 | + <IsTrimmable>true</IsTrimmable> |
| 8 | + <EnableTrimAnalyzer>true</EnableTrimAnalyzer> |
| 9 | + </PropertyGroup> |
| 10 | + |
| 11 | + <PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'"> |
| 12 | + <PublishAot>true</PublishAot> |
| 13 | + <StripSymbols>true</StripSymbols> |
| 14 | + <OptimizationPreference>Speed</OptimizationPreference> |
| 15 | + </PropertyGroup> |
| 16 | + |
| 17 | + <!-- Necessary polyfills --> |
| 18 | + <PropertyGroup> |
| 19 | + <PolySharpIncludeGeneratedTypes> |
| 20 | + System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute; |
| 21 | + System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute; |
| 22 | + System.Diagnostics.CodeAnalysis.MemberNotNullAttribute; |
| 23 | + System.Diagnostics.CodeAnalysis.NotNullAttribute; |
| 24 | + System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute; |
| 25 | + System.Diagnostics.CodeAnalysis.NotNullWhenAttribute; |
| 26 | + System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute; |
| 27 | + System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute; |
| 28 | + System.Runtime.CompilerServices.CallerArgumentExpressionAttribute; |
| 29 | + System.Runtime.CompilerServices.IsExternalInit; |
| 30 | + System.Runtime.CompilerServices.SkipLocalsInitAttribute; |
| 31 | + </PolySharpIncludeGeneratedTypes> |
| 32 | + </PropertyGroup> |
| 33 | + |
| 34 | + <ItemGroup> |
| 35 | + <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" /> |
| 36 | + </ItemGroup> |
| 37 | + |
| 38 | + <ItemGroup> |
| 39 | + <ProjectReference Include="..\ReflectionEventing\ReflectionEventing.csproj" /> |
| 40 | + </ItemGroup> |
| 41 | + |
| 42 | +</Project> |
0 commit comments