I have an old Asp.Net web application using Unity for dependency injection. Today I updated the Unity using NuGet to the latest version. On trying to run the application, I am getting an exception:
Unity.Exceptions.ResolutionFailedException: 'Resolution of the dependency failed, type = ‘SOME.Services.ISomeService’, name = ‘(none)’. Exception occurred while: while resolving. Exception is: InvalidOperationException - The property converter on type DAL.Repositories.SomeRepository is not settable.
That said, it sounds like you are trying to use property injection but the property that needs setting is read only.
Why are you upgrading Unity? Why not just use the old version?