79426397

Date: 2025-02-10 08:00:18
Score: 0.5
Natty:
Report link

For the current NuGet System.Memory package with version 4.6.0 in NuGet, you need to add this reddirect in web.config.

<?xml version="1.0" encoding="utf-8"?>
<configuration> 
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">          
            <dependentAssembly>
                <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>

That's because in Project References, the NuGet package shows with this version 4.0.2.0.

System.Memory is with version 4.0.2.0 in Project References

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Leonard Barbu