79403939

Date: 2025-01-31 20:32:03
Score: 3.5
Natty:
Report link

I am having the same issue. Running a web application that is .NET Framework version 4.8, and the NuGet package for "System.Memory" is 4.6.0. I have a binding redirect in the Web.config file too:


name="System.Memory"... oldVersion="0.0.0.0-4.6.0.0" newVersion="4.6.0.0"


And the log indicates this is found, but there is something with the "minor version"??


LOG: Redirect found in application configuration file: 4.0.2.0 redirected to 4.6.0.0.

LOG: Post-policy reference: System.Memory, Version=4.6.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

LOG: Attempting download of new URL file:///C:/Users/{user}/AppData/Local/Temp/Temporary ASP.NET Files/vs/bc0c9a9c/50678048/System.Memory.DLL.

LOG: Attempting download of new URL file:///C:/Users/{user}/AppData/Local/Temp/Temporary ASP.NET Files/vs/bc0c9a9c/50678048/System.Memory/System.Memory.DLL.

LOG: Attempting download of new URL file:///{project_/bin/System.Memory.DLL.

WRN: Comparing the assembly name resulted in the mismatch: Minor Version


What on earth is going on...Google and ChatGPT are no help!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dave Busch