SerilogSinksInMemory icon indicating copy to clipboard operation
SerilogSinksInMemory copied to clipboard

"Unable to load InMemorySinkAssertions" exception when using AwesomeAssertions

Open rathole opened this issue 1 month ago • 2 comments

This is caused by the InMemorySinkAssertionExtensions.IsAwesomeAssertionsAvailableOnDisk looking for "FluentAssertions.dll" instead of "AwesomeAssertions.dll".

Can be worked around by ensuring the AwesomeAssertions.dll is already loaded before InMemorySinkAssertions.InMemorySink.Should is called for the first time.

rathole avatar Oct 17 '25 09:10 rathole

I added a fix for this to #46

vfofanov avatar Oct 22 '25 20:10 vfofanov

Thanks @vfofanov !

rathole avatar Oct 27 '25 09:10 rathole