File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
src/Serilog.Sinks.InMemory.Assertions Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.15.0.0
4
+
5
+ Use ` AssemblyProductAttribute ` to detect AwesomeAssertions (as provided via [ this PR] ( https://github.com/AwesomeAssertions/AwesomeAssertions/pull/30 ) )
6
+
3
7
## 0.14.0.0
4
8
5
9
Fix a packaging issue that caused the abstractions not to be part of the package.
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
- <Version >0.14 .0.0</Version >
3
+ <Version >0.15 .0.0</Version >
4
4
<Authors >Sander van Vliet</Authors >
5
5
<Company >Codenizer BV</Company >
6
6
<Copyright >2025 Sander van Vliet</Copyright >
Original file line number Diff line number Diff line change @@ -182,6 +182,13 @@ private static bool IsAwesomeAssertionsAvailableOnDisk(
182
182
{
183
183
assembly = Assembly . LoadFile ( assemblyPath ) ;
184
184
185
+ if ( assembly . GetCustomAttributes < AssemblyProductAttribute > ( )
186
+ . Any ( product =>
187
+ product . Product . Equals ( "AwesomeAssertions" , StringComparison . CurrentCultureIgnoreCase ) ) )
188
+ {
189
+ return true ;
190
+ }
191
+
185
192
if ( assembly . GetCustomAttributes < AssemblyMetadataAttribute > ( )
186
193
. Any ( metadata => metadata . Value . Contains ( "AwesomeAssertions" , StringComparison . OrdinalIgnoreCase ) ) )
187
194
{
You can’t perform that action at this time.
0 commit comments