Skip to content

Commit 22ab2fb

Browse files
committed
rajanadar#353 Optimise dependency management
1 parent 34ab400 commit 22ab2fb

File tree

1 file changed

+6
-25
lines changed

1 file changed

+6
-25
lines changed

src/VaultSharp/VaultSharp.csproj

+6-25
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This library is built with .NET Standard 2.0, .NET Standard 2.1, 4.6.2, 4.7.2*,
2727
<FileVersion>1.13.0.1</FileVersion>
2828
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
2929
<PackageIcon>icon.png</PackageIcon>
30-
30+
3131
<!-- SourceLink specific details: https://github.com/dotnet/sourcelink/blob/master/README.md -->
3232
<PublishRepositoryUrl>true</PublishRepositoryUrl>
3333
<EmbedUntrackedSources>true</EmbedUntrackedSources>
@@ -56,14 +56,8 @@ This library is built with .NET Standard 2.0, .NET Standard 2.1, 4.6.2, 4.7.2*,
5656
<Compile Remove="Common\**" />
5757
<EmbeddedResource Remove="Common\**" />
5858
<None Remove="Common\**" />
59-
<None Include="..\..\icon.png">
60-
<Pack>True</Pack>
61-
<PackagePath></PackagePath>
62-
</None>
63-
<None Include="..\..\README.md">
64-
<Pack>True</Pack>
65-
<PackagePath>\</PackagePath>
66-
</None>
59+
<None Include="..\..\icon.png" Pack="true" PackagePath="" />
60+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
6761
</ItemGroup>
6862

6963
<ItemGroup>
@@ -124,7 +118,7 @@ This library is built with .NET Standard 2.0, .NET Standard 2.1, 4.6.2, 4.7.2*,
124118
<Version>7.0.2</Version>
125119
</PackageReference>
126120
</ItemGroup>
127-
121+
128122
<PropertyGroup Condition="'$(TargetFramework)' == 'net48'">
129123
<AssemblyTitle>VaultSharp .NET Framework 4.8</AssemblyTitle>
130124
</PropertyGroup>
@@ -151,11 +145,10 @@ This library is built with .NET Standard 2.0, .NET Standard 2.1, 4.6.2, 4.7.2*,
151145
</PackageReference>
152146
</ItemGroup>
153147

154-
155148
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
156149
<AssemblyTitle>VaultSharp .NET Standard 2.0</AssemblyTitle>
157150
</PropertyGroup>
158-
151+
159152
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
160153
<PackageReference Include="System.Text.Json">
161154
<Version>7.0.2</Version>
@@ -176,28 +169,16 @@ This library is built with .NET Standard 2.0, .NET Standard 2.1, 4.6.2, 4.7.2*,
176169
<AssemblyTitle>VaultSharp .NET 6</AssemblyTitle>
177170
</PropertyGroup>
178171

179-
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
180-
<PackageReference Include="System.Text.Json">
181-
<Version>7.0.2</Version>
182-
</PackageReference>
183-
</ItemGroup>
184-
185172
<PropertyGroup Condition="'$(TargetFramework)'=='net7.0'">
186173
<AssemblyTitle>VaultSharp .NET 7</AssemblyTitle>
187174
</PropertyGroup>
188175

189-
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
190-
<PackageReference Include="System.Text.Json">
191-
<Version>7.0.2</Version>
192-
</PackageReference>
193-
</ItemGroup>
194-
195176
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
196177
<WarningLevel>5</WarningLevel>
197178
</PropertyGroup>
198179

199180
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
200181
<WarningLevel>5</WarningLevel>
201182
</PropertyGroup>
202-
183+
203184
</Project>

0 commit comments

Comments
 (0)