When i call an endpoint on my web api project, i get this error -
Could not load file or assembly 'System.Linq.Dynamic, Version=1.0.5840.25917, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
i cannot seem to sign this assembly- System.Linq.Dynamic.dll with a strong name using Visual Studio 2017 (see attached image).
if i use the command line it seems to work, however using visual studio 2015, it doesn't seem to sign the dll with a strong name.
You can read System.Linq.Dynamic.Core to see how many forks of System.Linq.Dynamic
are there.
The openness allows you to choose another NuGet package which ships a strong named assembly for the project, and that solves the issue.
Hope one of the forks would grow and one day becomes the "upstream" :)
I had a similar (same) error (different cause):
Could not load file or assembly 'xx' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
It turned out that the Project ('xx') in my solution, that I referenced from another project was not set to build in Debug mode. When I selected Properties (F4) of the project ('xx') in Visual Studio, it turned out that the value for "Always Start When Debugging" was set to False.
I set it to True, and the error was resolved.
User contributions licensed under CC BY-SA 3.0