You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the Fody ShouldCleanReference property to true will only result in removing the fody references. But our Cache and NoCache attributes will then be "re-referenced" to the Microsoft.Extensions.Caching.Abstractions namespace and will throw a TypeLoadException.
The current workaround is to set the ShouldCleanReference property to false.
Set it back to true and as a cleanup step after weaving, remove our caching attributes from classes and methods, similar to the Fody.Equals add-in:
Setting the Fody
ShouldCleanReference
property totrue
will only result in removing the fody references. But our Cache and NoCache attributes will then be "re-referenced" to theMicrosoft.Extensions.Caching.Abstractions
namespace and will throw aTypeLoadException
.The current workaround is to set the
ShouldCleanReference
property tofalse
.Set it back to true and as a cleanup step after weaving, remove our caching attributes from classes and methods, similar to the Fody.Equals add-in:
https://github.com/Fody/Equals/blob/6da330e2ba2c999124a6a68dddcfe4324a0416b4/Equals.Fody/ModuleWeaver.cs#L155-L174
The text was updated successfully, but these errors were encountered: