Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit a2cebaf

Browse files
authored
Merge pull request #211 from hwoodiwiss/hwoodiwiss-update-tfm
Add net6.0 and net8.0 as Target Frameworks
2 parents 30d1d1f + 8229ba8 commit a2cebaf

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.3.7] - 2024-02-26
11+
12+
### Changed
13+
14+
- Added `net6.0` and `net8.0` as target frameworks.
15+
1016
## [1.3.6] - 2023-02-05
1117

1218
- Fixes `IsTrimmable` property on the project.

src/Microsoft.Kiota.Http.HttpClientLibrary.csproj

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
77
<AssemblyTitle>Kiota Http Library for dotnet</AssemblyTitle>
88
<Authors>Microsoft</Authors>
9-
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0</TargetFrameworks>
9+
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net8.0</TargetFrameworks>
1010
<LangVersion>latest</LangVersion>
1111
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1212
<PackageIconUrl>http://go.microsoft.com/fwlink/?LinkID=288890</PackageIconUrl>
1313
<RepositoryUrl>https://github.com/microsoft/kiota-http-dotnet</RepositoryUrl>
1414
<PackageProjectUrl>https://aka.ms/kiota/docs</PackageProjectUrl>
1515
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1616
<Deterministic>true</Deterministic>
17-
<VersionPrefix>1.3.6</VersionPrefix>
17+
<VersionPrefix>1.3.7</VersionPrefix>
1818
<VersionSuffix></VersionSuffix>
1919
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2020
<!-- Enable this line once we go live to prevent breaking changes -->
@@ -34,13 +34,16 @@
3434
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3535
<NoWarn>$(NoWarn);NU5048;NETSDK1138</NoWarn>
3636
</PropertyGroup>
37-
<PropertyGroup Condition="'$(TargetFramework)' == 'net5.0'">
37+
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)','net5.0'))">
3838
<IsTrimmable>true</IsTrimmable>
3939
</PropertyGroup>
40+
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)','net8.0'))">
41+
<IsAotCompatible>true</IsAotCompatible>
42+
</PropertyGroup>
4043

4144
<ItemGroup>
4245
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
43-
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="1.7.9" />
46+
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="1.7.10" />
4447
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="[6.0,9.0)" />
4548
<PackageReference Include="System.Text.Json" Version="[6.0,9.0)" />
4649
<ProjectReference Include="..\Kiota.Generated\KiotaGenerated.csproj" OutputItemType="Analyzer"
@@ -61,4 +64,4 @@
6164
<PackagePath></PackagePath>
6265
</None>
6366
</ItemGroup>
64-
</Project>
67+
</Project>

0 commit comments

Comments
 (0)