Check in the GAC to see if the system.memory
assembly is in there.
gacutil /l "System.Memory"
If it is then remove it.
gacutil /u "System.Memory"
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi I am getting this error when I build my project,
This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled.
(0,0): error : This is an unhandled exception in MSBuild -- PLEASE UPVOTE AN EXISTING ISSUE OR FILE A NEW ONE AT https://aka.ms/msbuild/unhandled.
System.InvalidOperationException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
How can I fix this issue?
Check in the GAC to see if the system.memory
assembly is in there.
gacutil /l "System.Memory"
If it is then remove it.
gacutil /u "System.Memory"
I get some error. After updating visual studio 2022 enterprise 17.5.3 to 17.5.4.
Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
at Microsoft.AspNetCore.WebUtilities.QueryHelpers.AddQueryString(String uri, IEnumerable`1 queryString)
at RestUtils.CdmRestClient.GetFromUrl[TResult](String service, String method, Dictionary`2 urlArgs) in C:\work