Skip to content

Commit c8f96da

Browse files
Update project files + target frameworks
1 parent 09a9091 commit c8f96da

File tree

2 files changed

+45
-34
lines changed

2 files changed

+45
-34
lines changed
Lines changed: 44 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,50 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFrameworks>net452;netstandard1.2;netstandard2.0;netstandard2.1</TargetFrameworks>
5-
<Authors>Thomas Galliker</Authors>
6-
<Company>superdev GmbH</Company>
7-
<Description>HttpClient.Caching adds http response caching to HttpClient.</Description>
8-
<Copyright>Copyright 2022</Copyright>
9-
<PackageProjectUrl>https://github.com/thomasgalliker/HttpClient.Caching</PackageProjectUrl>
10-
<PackageIconUrl>https://raw.githubusercontent.com/thomasgalliker/HttpClient.Caching/master/logo.png</PackageIconUrl>
11-
<RepositoryUrl>https://github.com/thomasgalliker/HttpClient.Caching</RepositoryUrl>
12-
<RepositoryType>git</RepositoryType>
13-
<PackageTags>httpclient.caching;httpclient;caching;cache;inmemory</PackageTags>
14-
<PackageReleaseNotes>1.0.0
15-
- Initial release</PackageReleaseNotes>
16-
<NeutralLanguage>en</NeutralLanguage>
17-
<RootNamespace>Microsoft.Extensions.Caching</RootNamespace>
18-
</PropertyGroup>
19-
20-
<ItemGroup>
21-
<PackageReference Include="Newtonsoft.Json" Version="[11.0.2,)" />
3+
<PropertyGroup>
4+
<Description>HttpClient.Caching adds http response caching to HttpClient.</Description>
5+
<AssemblyTitle>HttpClient.Caching</AssemblyTitle>
6+
<VersionPrefix>1.0.0</VersionPrefix>
7+
<Version>1.0.0</Version>
8+
<Authors>Thomas Galliker</Authors>
9+
<TargetFrameworks>net462;netstandard1.2;netstandard2.0;netstandard2.1</TargetFrameworks>
10+
<AssemblyName>HttpClient.Caching</AssemblyName>
11+
<PackageId>HttpClient.Caching</PackageId>
12+
<PackageTags>httpclient.caching;httpclient;caching;cache;inmemory</PackageTags>
13+
<PackageIconUrl>https://raw.githubusercontent.com/thomasgalliker/HttpClient.Caching/develop/logo.png</PackageIconUrl>
14+
<PackageProjectUrl>https://github.com/thomasgalliker/HttpClient.Caching</PackageProjectUrl>
15+
<RepositoryType>git</RepositoryType>
16+
<RepositoryUrl>https://github.com/thomasgalliker/HttpClient.Caching</RepositoryUrl>
17+
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
18+
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.2' ">$(PackageTargetFallback);netcoreapp1.0</PackageTargetFallback>
19+
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.2' ">1.6.1</NetStandardImplicitPackageVersion>
20+
<SignAssembly>True</SignAssembly>
21+
<LangVersion>latest</LangVersion>
22+
</PropertyGroup>
23+
24+
<PropertyGroup>
25+
<Company>superdev GmbH</Company>
26+
<Product>HttpClient.Caching</Product>
27+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
28+
<RootNamespace>Microsoft.Extensions.Caching</RootNamespace>
29+
<PackageReleaseNotes>1.3.x
30+
- Add ICacheKeysProvider which allows to specify custom cache keys
31+
32+
1.0.0
33+
- Initial release
34+
</PackageReleaseNotes>
35+
<Copyright>Copyright 2022</Copyright>
36+
<PackageReadmeFile>README.md</PackageReadmeFile>
37+
</PropertyGroup>
38+
39+
<ItemGroup Condition=" '$(TargetFramework)' == 'NETFRAMEWORK' ">
40+
<Reference Include="System" />
2241
</ItemGroup>
2342

24-
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
25-
<Reference Include="Microsoft.CSharp" />
26-
<Reference Include="System.Configuration" />
27-
<Reference Include="System.Core" />
28-
<Reference Include="System.Data.Linq" />
29-
<Reference Include="System.Net.Http" />
30-
<Reference Include="System.Net.Http.WebRequest" />
31-
<Reference Include="System.Web" />
32-
<Reference Include="System.Xml.Linq" />
33-
<Reference Include="System.Data.DataSetExtensions" />
34-
<Reference Include="System.Data" />
35-
<Reference Include="System.Xml" />
36-
<Reference Include="System" />
37-
</ItemGroup>
43+
<ItemGroup>
44+
<None Include="..\README.md">
45+
<Pack>True</Pack>
46+
<PackagePath>\</PackagePath>
47+
</None>
48+
</ItemGroup>
3849

3950
</Project>

Tests/HttpClient.Caching.Tests/HttpClient.Caching.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
4+
<TargetFrameworks>net462;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
<AssemblyName>HttpClient.Caching.Tests</AssemblyName>
66
<PackageId>HttpClient.Caching.Tests</PackageId>
77
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>

0 commit comments

Comments
 (0)