|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
3 | 2 | <PropertyGroup> |
| 3 | + <!-- Assembly metadata --> |
| 4 | + <Description>Support for pooled instance lifetime scopes in Autofac dependency injection.</Description> |
| 5 | + <Copyright>Copyright © 2020 Autofac Contributors</Copyright> |
| 6 | + <Authors>Autofac Contributors</Authors> |
| 7 | + <Company>Autofac</Company> |
| 8 | + <Product>Autofac</Product> |
| 9 | + <AssemblyOriginatorKeyFile>../../Autofac.snk</AssemblyOriginatorKeyFile> |
| 10 | + <SignAssembly>true</SignAssembly> |
| 11 | + <NeutralLanguage>en-US</NeutralLanguage> |
| 12 | + <!-- Frameworks and language features --> |
4 | 13 | <TargetFrameworks>net10.0;net8.0;netstandard2.1;netstandard2.0</TargetFrameworks> |
5 | | - <Nullable>enable</Nullable> |
6 | 14 | <LangVersion>latest</LangVersion> |
| 15 | + <Nullable>enable</Nullable> |
7 | 16 | <GenerateDocumentationFile>true</GenerateDocumentationFile> |
8 | | - <AssemblyOriginatorKeyFile>../../Autofac.snk</AssemblyOriginatorKeyFile> |
9 | | - <SignAssembly>true</SignAssembly> |
10 | 17 | <CodeAnalysisRuleSet>../../build/Source.ruleset</CodeAnalysisRuleSet> |
11 | | - <AnalysisMode>AllEnabledByDefault</AnalysisMode> |
12 | 18 | <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> |
13 | | - <GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> |
14 | | - <GenerateNeutralResourcesLanguageAttribute>false</GenerateNeutralResourcesLanguageAttribute> |
15 | | - <GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute> |
16 | | - <GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> |
17 | | - </PropertyGroup> |
18 | | - |
19 | | - <!-- Nuget Options --> |
20 | | - <PropertyGroup> |
21 | | - <Description>Support for pooled instance lifetime scopes in Autofac dependency injection.</Description> |
| 19 | + <AnalysisMode>AllEnabledByDefault</AnalysisMode> |
| 20 | + <ImplicitUsings>enable</ImplicitUsings> |
| 21 | + <!-- Packaging --> |
22 | 22 | <PackageTags>autofac;di;ioc;dependencyinjection;pooling</PackageTags> |
23 | 23 | <PackageReleaseNotes>Release notes are at https://github.com/autofac/Autofac.Pooling/releases</PackageReleaseNotes> |
24 | | - <PackageIconUrl>https://cloud.githubusercontent.com/assets/1156571/13684110/16b8f152-e6bf-11e5-84ae-22c66c6d351a.png</PackageIconUrl> |
25 | | - <PackageProjectUrl>https://autofac.org</PackageProjectUrl> |
26 | 24 | <PackageIcon>icon.png</PackageIcon> |
| 25 | + <PackageProjectUrl>https://autofac.org</PackageProjectUrl> |
27 | 26 | <PackageLicenseExpression>MIT</PackageLicenseExpression> |
28 | | - <Authors>Autofac Contributors</Authors> |
29 | | - <Company>Autofac</Company> |
30 | | - <Product>Autofac</Product> |
| 27 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
31 | 28 | <RepositoryType>git</RepositoryType> |
32 | 29 | <RepositoryUrl>https://github.com/autofac/Autofac.Pooling</RepositoryUrl> |
| 30 | + <ContinuousIntegrationBuild Condition="'$(CI)' != '' ">true</ContinuousIntegrationBuild> |
33 | 31 | <PublishRepositoryUrl>true</PublishRepositoryUrl> |
34 | 32 | <EmbedAllSources>true</EmbedAllSources> |
35 | | - <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> |
| 33 | + <IncludeSymbols>true</IncludeSymbols> |
| 34 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 35 | + <!-- OmniSharp/VS Code resource generation --> |
| 36 | + <CoreCompileDependsOn>PrepareResources;$(CompileDependsOn)</CoreCompileDependsOn> |
36 | 37 | </PropertyGroup> |
37 | 38 | <ItemGroup> |
38 | 39 | <Using Include="System.Diagnostics.CodeAnalysis" /> |
39 | 40 | </ItemGroup> |
40 | 41 | <ItemGroup> |
41 | 42 | <None Include="..\..\build\icon.png" Pack="true" PackagePath="\" /> |
| 43 | + <None Include="..\..\README.md" Pack="true" PackagePath="\" /> |
42 | 44 | </ItemGroup> |
43 | 45 | <ItemGroup> |
44 | 46 | <AdditionalFiles Include="..\..\build\stylecop.json" Link="stylecop.json" /> |
45 | 47 | </ItemGroup> |
46 | 48 | <ItemGroup> |
47 | | - <PackageReference Include="Autofac" Version="9.1.0" /> |
48 | | - <PackageReference Include="Microsoft.Extensions.ObjectPool" Version="10.0.8" /> |
| 49 | + <PackageReference Include="Autofac" Version="9.2.0" /> |
| 50 | + <PackageReference Include="Microsoft.Extensions.ObjectPool" Version="10.0.9" /> |
49 | 51 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.300" Condition="Exists('$(MSBuildThisFileDirectory)../../.git')"> |
50 | | - <PrivateAssets>All</PrivateAssets> |
51 | | - </PackageReference> |
52 | | - <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556"> |
53 | | - <PrivateAssets>All</PrivateAssets> |
| 52 | + <PrivateAssets>all</PrivateAssets> |
54 | 53 | </PackageReference> |
55 | 54 | <PackageReference Include="SonarAnalyzer.CSharp" Version="10.27.0.140913"> |
56 | 55 | <PrivateAssets>all</PrivateAssets> |
57 | 56 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
58 | 57 | </PackageReference> |
| 58 | + <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556"> |
| 59 | + <PrivateAssets>all</PrivateAssets> |
| 60 | + </PackageReference> |
59 | 61 | </ItemGroup> |
60 | | - <ItemGroup> |
61 | | - <Compile Update="PoolGetActivatorResources.Designer.cs"> |
62 | | - <DesignTime>True</DesignTime> |
63 | | - <AutoGen>True</AutoGen> |
64 | | - <DependentUpon>PoolGetActivatorResources.resx</DependentUpon> |
65 | | - </Compile> |
66 | | - <Compile Update="PoolServiceResources.Designer.cs"> |
67 | | - <DesignTime>True</DesignTime> |
68 | | - <AutoGen>True</AutoGen> |
69 | | - <DependentUpon>PoolServiceResources.resx</DependentUpon> |
70 | | - </Compile> |
71 | | - <Compile Update="RegistrationExtensionsResources.Designer.cs"> |
72 | | - <DesignTime>True</DesignTime> |
73 | | - <AutoGen>True</AutoGen> |
74 | | - <DependentUpon>RegistrationExtensionsResources.resx</DependentUpon> |
75 | | - </Compile> |
76 | | - </ItemGroup> |
| 62 | + <ItemDefinitionGroup> |
| 63 | + <EmbeddedResource> |
| 64 | + <Generator>MSBuild:Compile</Generator> |
| 65 | + <StronglyTypedLanguage>CSharp</StronglyTypedLanguage> |
| 66 | + <StronglyTypedFileName>$(IntermediateOutputPath)%(Filename).Designer.cs</StronglyTypedFileName> |
| 67 | + <StronglyTypedClassName>%(Filename)</StronglyTypedClassName> |
| 68 | + </EmbeddedResource> |
| 69 | + </ItemDefinitionGroup> |
77 | 70 | <ItemGroup> |
78 | 71 | <EmbeddedResource Update="PoolGetActivatorResources.resx"> |
79 | | - <Generator>ResXFileCodeGenerator</Generator> |
80 | | - <LastGenOutput>PoolGetActivatorResources.Designer.cs</LastGenOutput> |
| 72 | + <StronglyTypedNamespace>Autofac.Pooling</StronglyTypedNamespace> |
81 | 73 | </EmbeddedResource> |
82 | 74 | <EmbeddedResource Update="PoolServiceResources.resx"> |
83 | | - <Generator>ResXFileCodeGenerator</Generator> |
84 | | - <LastGenOutput>PoolServiceResources.Designer.cs</LastGenOutput> |
| 75 | + <StronglyTypedNamespace>Autofac.Pooling</StronglyTypedNamespace> |
85 | 76 | </EmbeddedResource> |
86 | 77 | <EmbeddedResource Update="RegistrationExtensionsResources.resx"> |
87 | | - <Generator>ResXFileCodeGenerator</Generator> |
88 | | - <LastGenOutput>RegistrationExtensionsResources.Designer.cs</LastGenOutput> |
| 78 | + <StronglyTypedNamespace>Autofac.Pooling</StronglyTypedNamespace> |
89 | 79 | </EmbeddedResource> |
90 | 80 | </ItemGroup> |
91 | 81 | </Project> |
0 commit comments