|
3 | 3 | <PropertyGroup Label="Build">
|
4 | 4 | <LangVersion>default</LangVersion>
|
5 | 5 | <TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
6 |
| - <NoWarn>SA1633;SA1028;SA1309;CA1303</NoWarn> |
| 6 | + <NoWarn>SA1633;SA1028;SA1309;CA1303;CS1591</NoWarn> |
7 | 7 | <PackageId>VaultSharp.Extensions.Configuration</PackageId>
|
8 | 8 | <PackageLicenseExpression>MIT</PackageLicenseExpression>
|
9 | 9 | <Nullable>enable</Nullable>
|
10 |
| - <TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks> |
| 10 | + <TargetFrameworks>net6.0;net7.0;netstandard2.1</TargetFrameworks> |
11 | 11 | <IncludeSymbols>true</IncludeSymbols>
|
12 | 12 | <SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
13 |
| - <Copyright>Copyright 2022 © Mikhail Merkulov. All rights Reserved</Copyright> |
| 13 | + <Copyright>Copyright 2023 © Mikhail Merkulov. All rights Reserved</Copyright> |
14 | 14 | </PropertyGroup>
|
15 | 15 |
|
16 | 16 | <PropertyGroup Label="Package">
|
17 | 17 | <Product>VaultSharp.Extensions.Configuration</Product>
|
18 |
| - <Description>Configuration extension that allows you to use Hashicorp Vault as a configuration backend.</Description> |
| 18 | + <Description> |
| 19 | + Configuration extension that allows you to use Hashicorp Vault as a configuration backend. |
| 20 | + This library is built with .NET Standard 2.1, .NET 6 & .NET 7 |
| 21 | + </Description> |
19 | 22 | <PackageTags>Vault;Configuration;Data protection;Hashicorp</PackageTags>
|
20 | 23 | </PropertyGroup>
|
21 | 24 |
|
22 | 25 | <ItemGroup>
|
23 | 26 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
|
24 | 27 | <PrivateAssets>all</PrivateAssets>
|
25 | 28 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
26 |
| - </PackageReference> |
27 |
| - <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0"> |
| 29 | + </PackageReference> |
| 30 | + <PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.5.22"> |
28 | 31 | <PrivateAssets>all</PrivateAssets>
|
29 |
| - <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
| 32 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
30 | 33 | </PackageReference>
|
31 |
| - <PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.2.32"> |
| 34 | + <PackageReference Include="GitVersion.MsBuild" Version="5.12.0"> |
32 | 35 | <PrivateAssets>all</PrivateAssets>
|
33 | 36 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
34 | 37 | </PackageReference>
|
35 |
| - <PackageReference Include="GitVersion.MsBuild" Version="5.10.3"> |
| 38 | + </ItemGroup> |
| 39 | + |
| 40 | + <ItemGroup> |
| 41 | + <PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.5.22" /> |
| 42 | + <PackageReference Include="VaultSharp" Version="1.13.0.1" /> |
| 43 | + <PackageReference Include="MinVer" Version="4.3.0"> |
36 | 44 | <PrivateAssets>all</PrivateAssets>
|
37 | 45 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
38 | 46 | </PackageReference>
|
39 | 47 | </ItemGroup>
|
40 | 48 |
|
41 |
| - <ItemGroup> |
| 49 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> |
| 50 | + <PackageReference Include="System.Text.Json" Version="7.0.2" /> |
| 51 | + <PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" /> |
| 52 | + <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" /> |
| 53 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" /> |
| 54 | + <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.1"> |
| 55 | + <PrivateAssets>all</PrivateAssets> |
| 56 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
| 57 | + </PackageReference> |
| 58 | + </ItemGroup> |
| 59 | + |
| 60 | + <ItemGroup Condition="'$(TargetFramework)' == 'net6.0'"> |
| 61 | + <PackageReference Include="System.Text.Json" Version="7.0.2" /> |
42 | 62 | <PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
|
43 | 63 | <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
|
44 | 64 | <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.3" />
|
45 |
| - <PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.2.32" /> |
| 65 | + <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0"> |
| 66 | + <PrivateAssets>all</PrivateAssets> |
| 67 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
| 68 | + </PackageReference> |
| 69 | + </ItemGroup> |
| 70 | + |
| 71 | + <ItemGroup Condition="'$(TargetFramework)' == 'net7.0'"> |
46 | 72 | <PackageReference Include="System.Text.Json" Version="7.0.2" />
|
47 |
| - <PackageReference Include="VaultSharp" Version="1.13.0.1" /> |
48 |
| - <PackageReference Include="MinVer" Version="4.1.0" /> |
| 73 | + <PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" /> |
| 74 | + <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" /> |
| 75 | + <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" /> |
| 76 | + <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.1"> |
| 77 | + <PrivateAssets>all</PrivateAssets> |
| 78 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
| 79 | + </PackageReference> |
49 | 80 | </ItemGroup>
|
50 | 81 |
|
51 | 82 | <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
|
|
56 | 87 | <AssemblyTitle>VaultSharp configuration extensions .NET 6</AssemblyTitle>
|
57 | 88 | </PropertyGroup>
|
58 | 89 |
|
| 90 | + <PropertyGroup Condition="'$(TargetFramework)'=='net7.0'"> |
| 91 | + <AssemblyTitle>VaultSharp configuration extensions .NET 7</AssemblyTitle> |
| 92 | + </PropertyGroup> |
| 93 | + |
59 | 94 | <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
|
60 | 95 | <WarningLevel>5</WarningLevel>
|
61 | 96 | </PropertyGroup>
|
|
0 commit comments