Skip to content

.NET 4.81 MVC Project : ValueTuple keeps appearing in Web.Config causing web app runtime failure #267

Description

@awbmansour

Why is it that all of a sudden we started seeing this package appearing in Web.Config when we do a Nuget Package updates !?

It causes Web App runtime failure and the only solution is that we REMOVE Manually from Web.Config these lines

  <dependentAssembly>
    <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
  </dependentAssembly>

If we try to remove this package from the Solution, we receive an error

Unable to uninstall 'System.ValueTuple.4.6.2' because 'Microsoft.Identity.Client.4.83.3, System.Formats.Asn1.10.0.5' depend on it.

When we researched the subject on GPT / google, we found that this package is part of the FRAMEWORK and should not be mentioned in Web.Config, so why Nuget Packages refer to it !!!

This is breaking our CDN pipeline as we have to do manual intervention. It is really frustrating.

Please consider !!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions