fsprojects / fsprojects/Paket

Microsoft.Extensions.Logging not added to akka.net prohect when ussing == net462

Open
#3,004 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug resolution
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

See https://github.com/akkadotnet/akka.net/issues/3288

A workaround:

  1. Add the following to paket.dependencies
nuget Microsoft.Extensions.Logging 1.1.1
nuget Microsoft.Extensions.Logging.Abstractions 1.1.1
  1. Add the following to app.config
<dependentAssembly>
    <assemblyIdentity name="Microsoft.Extensions.Logging" publicKeyToken="adb9793829ddae60"
                      culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.1.1.0" />
</dependentAssembly>
<dependentAssembly>
    <assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60"
                      culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.1.1.0" />
</dependentAssembly>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked issue 3288, then inspect the paket.dependencies and app.config files described in the workaround for the net462 case. Done means Microsoft.Extensions.Logging and Microsoft.Extensions.Logging.Abstractions are included with the required binding redirects without manually applying the workaround.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.