Binding redirect .NET core

Chan Kok Kiet 0 Reputation points
2023-05-29T11:26:09.16+00:00

Hi

I have a .NET core web application. It depends on myCore.dll, which version 1.0.0

After sometime, myCore.dll is updated with new function. Its version has been increased to 1.1.0.

After I replaced myCore.dll v 1.0.0 with 1.1.0 to bin, and restart my app, it hit error unable to load assembly .... 1.0.0

I am infomred bindingRedirect solve the problem in .NET framework? Or how to resolve in NET core?

Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,134 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 54,866 Reputation points
    2023-05-30T15:23:36.4433333+00:00

    .net core does not support binding redirects. you must rebuild the application with the new version of the dll, and redeploy.

    0 comments No comments