Skip to content

Commit

Permalink
rajanadar#353 Optimise dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo committed Oct 27, 2024
1 parent e79c236 commit 5698cc4
Showing 1 changed file with 192 additions and 205 deletions.
397 changes: 192 additions & 205 deletions src/VaultSharp/VaultSharp.csproj
Original file line number Diff line number Diff line change
@@ -1,205 +1,192 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net462;net47;net471;net472;net48;net481;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>VaultSharp.snk</AssemblyOriginatorKeyFile>
<Title>VaultSharp</Title>
<Version>1.17.5.2</Version>
<Authors>Raja Nadar</Authors>
<Copyright>Copyright © 2024 Raja Nadar. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/rajanadar/VaultSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/rajanadar/VaultSharp</RepositoryUrl>
<PackageTags>c# vault hashicorp .net netcore netstandard api secret consul kv ldap aws ec2 iam userpass</PackageTags>
<PackageReleaseNotes>https://github.com/rajanadar/VaultSharp/blob/master/CHANGELOG.md</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>The most comprehensive .NET Library for HashiCorp's Vault which is a modern secret management system.

* VaultSharp supports all Auth methods, all Secrets Engines and most System Apis supported by Vault.
* VaultSharp has first class support for Consul and Enterpise Vault APIs etc.
* Enterprise APIs like Control Groups, Transform Secrets Engine &amp; KMIP Secrets Engine etc.

This library is built with .NET Standard 2.0, .NET Standard 2.1, 4.6.2, 4.7.2*, 4.8, .NET 6, .NET 7 and .NET 8 and hence is cross-platform across .NET Core 2.x, 3.x, .NET Frameworks 4.x, Xamarin iOS, Android, Mac, UWP etc.</Description>
<RepositoryType>Github</RepositoryType>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<AssemblyVersion>1.17.5.2</AssemblyVersion>
<FileVersion>1.17.5.2</FileVersion>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>

<!-- SourceLink specific details: https://github.com/dotnet/sourcelink/blob/master/README.md -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<Deterministic>True</Deterministic>
<ContinousIntegrationBuild>True</ContinousIntegrationBuild>
<WarningsAsErrors>CA2007</WarningsAsErrors> <!-- CA2007:Do not directly await a Task - -->
</PropertyGroup>

<ItemGroup>
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\Debug\netstandard2.0\VaultSharp.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591,CS1570,CS1574</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard2.0\VaultSharp.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Common\**" />
<EmbeddedResource Remove="Common\**" />
<None Remove="Common\**" />
<None Include="..\..\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">
<AssemblyTitle>VaultSharp .NET Framework 4.6.2</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net47'">
<AssemblyTitle>VaultSharp .NET Framework 4.7</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net471'">
<AssemblyTitle>VaultSharp .NET Framework 4.7.1</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
<AssemblyTitle>VaultSharp .NET Framework 4.7.2</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net47'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net471'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net48'">
<AssemblyTitle>VaultSharp .NET Framework 4.8</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net481'">
<AssemblyTitle>VaultSharp .NET Framework 4.8.1</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net481'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>


<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<AssemblyTitle>VaultSharp .NET Standard 2.0</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<AssemblyTitle>VaultSharp .NET Standard 2.1</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net6.0'">
<AssemblyTitle>VaultSharp .NET 6</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<ItemGroup>
<Folder Include="V1\AuthMethods\Enterpise\SAML\" />
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net7.0'">
<AssemblyTitle>VaultSharp .NET 7</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net8.0'">
<AssemblyTitle>VaultSharp .NET 8</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningLevel>5</WarningLevel>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningLevel>5</WarningLevel>
</PropertyGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net462;net47;net471;net472;net48;net481;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>VaultSharp.snk</AssemblyOriginatorKeyFile>
<Title>VaultSharp</Title>
<Version>1.17.5.2</Version>
<Authors>Raja Nadar</Authors>
<Copyright>Copyright © 2024 Raja Nadar. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/rajanadar/VaultSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/rajanadar/VaultSharp</RepositoryUrl>
<PackageTags>c# vault hashicorp .net netcore netstandard api secret consul kv ldap aws ec2 iam userpass</PackageTags>
<PackageReleaseNotes>https://github.com/rajanadar/VaultSharp/blob/master/CHANGELOG.md</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>The most comprehensive .NET Library for HashiCorp's Vault which is a modern secret management system.

* VaultSharp supports all Auth methods, all Secrets Engines and most System Apis supported by Vault.
* VaultSharp has first class support for Consul and Enterpise Vault APIs etc.
* Enterprise APIs like Control Groups, Transform Secrets Engine &amp; KMIP Secrets Engine etc.

This library is built with .NET Standard 2.0, .NET Standard 2.1, 4.6.2, 4.7.2*, 4.8, .NET 6, .NET 7 and .NET 8 and hence is cross-platform across .NET Core 2.x, 3.x, .NET Frameworks 4.x, Xamarin iOS, Android, Mac, UWP etc.</Description>
<RepositoryType>Github</RepositoryType>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<AssemblyVersion>1.17.5.2</AssemblyVersion>
<FileVersion>1.17.5.2</FileVersion>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>

<!-- SourceLink specific details: https://github.com/dotnet/sourcelink/blob/master/README.md -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<Deterministic>True</Deterministic>
<ContinousIntegrationBuild>True</ContinousIntegrationBuild>
<WarningsAsErrors>CA2007</WarningsAsErrors> <!-- CA2007:Do not directly await a Task - -->
</PropertyGroup>

<ItemGroup>
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\Debug\netstandard2.0\VaultSharp.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591,CS1570,CS1574</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard2.0\VaultSharp.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Common\**" />
<EmbeddedResource Remove="Common\**" />
<None Remove="Common\**" />
<None Include="..\..\icon.png" Pack="true" PackagePath="" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">
<AssemblyTitle>VaultSharp .NET Framework 4.6.2</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net47'">
<AssemblyTitle>VaultSharp .NET Framework 4.7</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net471'">
<AssemblyTitle>VaultSharp .NET Framework 4.7.1</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
<AssemblyTitle>VaultSharp .NET Framework 4.7.2</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net47'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net471'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net48'">
<AssemblyTitle>VaultSharp .NET Framework 4.8</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net481'">
<AssemblyTitle>VaultSharp .NET Framework 4.8.1</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net481'">
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<AssemblyTitle>VaultSharp .NET Standard 2.0</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<AssemblyTitle>VaultSharp .NET Standard 2.1</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="System.Text.Json">
<Version>8.0.4</Version>
</PackageReference>
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net6.0'">
<AssemblyTitle>VaultSharp .NET 6</AssemblyTitle>
</PropertyGroup>

<ItemGroup>
<Folder Include="V1\AuthMethods\Enterpise\SAML\" />
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net7.0'">
<AssemblyTitle>VaultSharp .NET 7</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net8.0'">
<AssemblyTitle>VaultSharp .NET 8</AssemblyTitle>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningLevel>5</WarningLevel>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningLevel>5</WarningLevel>
</PropertyGroup>

</Project>

0 comments on commit 5698cc4

Please sign in to comment.