Skip to content

Commit

Permalink
Use Azure-Functions-compatible Microsoft.Extensions.Logging (#897)
Browse files Browse the repository at this point in the history
* modify version of Microsoft.Extensions.Logging to be 6.0.0 when building net6.0 target

* update FASTER.core.nuspec also
  • Loading branch information
sebastianburckhardt authored Mar 18, 2024
1 parent a093e30 commit 657f3f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions cs/src/core/FASTER.core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.26" />
</ItemGroup>
</When>
<When Condition="'$(TargetFramework)' == 'net6.0'">
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion cs/src/core/FASTER.core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<group targetFramework="net6.0">
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" />
<dependency id="System.Interactive.Async" version="6.0.1" />
<dependency id="Microsoft.Extensions.Logging" version="7.0.0" />
<dependency id="Microsoft.Extensions.Logging" version="6.0.0" />
</group>
<group targetFramework="net7.0">
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" />
Expand Down

0 comments on commit 657f3f5

Please sign in to comment.