File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,19 @@ public static HeadingInfo Default
55
55
{
56
56
get
57
57
{
58
- var title = ReflectionHelper . GetAttribute < AssemblyTitleAttribute > ( )
58
+ string title = ReflectionHelper . GetAssemblyName ( ) ;
59
+ #if NETSTANDARD1_5
60
+ title = ReflectionHelper . GetAttribute < AssemblyTitleAttribute > ( )
59
61
. MapValueOrDefault (
60
62
titleAttribute => Path . GetFileNameWithoutExtension ( titleAttribute . Title ) ,
61
- ReflectionHelper . GetAssemblyName ( ) ) ;
63
+ title ) ;
64
+ #else
65
+ title = ReflectionHelper . GetAttribute < AssemblyTitleAttribute > ( )
66
+ . MapValueOrDefault (
67
+ titleAttribute => titleAttribute . Title ,
68
+ title ) ;
69
+ #endif
70
+
62
71
var version = ReflectionHelper . GetAttribute < AssemblyInformationalVersionAttribute > ( )
63
72
. MapValueOrDefault (
64
73
versionAttribute => versionAttribute . InformationalVersion ,
You can’t perform that action at this time.
0 commit comments