File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 33<package >
44 <metadata >
55 <id >Shuttle.Core.Reflection</id >
6- <version >11.0.2 </version >
6+ <version >11.0.3 </version >
77 <authors >Eben Roux</authors >
88 <owners >Eben Roux</owners >
99 <license type =" expression" >BSD-3-Clause</license >
1212 <repository type =" git" url =" https://github.com/shuttle/Shuttle.Core.Reflection.git" />
1313 <projectUrl >https://github.com/shuttle/Shuttle.Core.Reflection</projectUrl >
1414 <description >Reflection infrastructure components.</description >
15- <copyright >Copyright (c) 2021 , Eben Roux</copyright >
15+ <copyright >Copyright (c) 2022 , Eben Roux</copyright >
1616 <tags >shuttle reflection</tags >
1717 <dependencies >
18- <dependency id =" Microsoft.Extensions.DependencyModel" version =" 5 .0.0" />
18+ <dependency id =" Microsoft.Extensions.DependencyModel" version =" 6 .0.0" />
1919 <dependency id =" Shuttle.Core.Logging" version =" 10.0.4" />
2020 </dependencies >
2121 </metadata >
Original file line number Diff line number Diff line change 1313[ assembly: AssemblyTitle ( ".NET Standard" ) ]
1414#endif
1515
16- [ assembly: AssemblyVersion ( "11.0.2 .0" ) ]
17- [ assembly: AssemblyCopyright ( "Copyright (c) 2021 , Eben Roux" ) ]
16+ [ assembly: AssemblyVersion ( "11.0.3 .0" ) ]
17+ [ assembly: AssemblyCopyright ( "Copyright (c) 2022 , Eben Roux" ) ]
1818[ assembly: AssemblyProduct ( "Shuttle.Core.Reflection" ) ]
1919[ assembly: AssemblyCompany ( "Eben Roux" ) ]
2020[ assembly: AssemblyConfiguration ( "Release" ) ]
21- [ assembly: AssemblyInformationalVersion ( "11.0.2 " ) ]
21+ [ assembly: AssemblyInformationalVersion ( "11.0.3 " ) ]
2222[ assembly: ComVisible ( false ) ]
Original file line number Diff line number Diff line change @@ -241,7 +241,9 @@ public Type GetType(string typeName)
241241 try
242242 {
243243 assembly = Assembly . LoadFrom (
244- Path . Combine ( AppDomain . CurrentDomain . BaseDirectory , $ "{ assemblyName . Name } .dll") ) ;
244+ Path . Combine ( string . IsNullOrEmpty ( AppDomain . CurrentDomain . RelativeSearchPath )
245+ ? AppDomain . CurrentDomain . BaseDirectory
246+ : AppDomain . CurrentDomain . RelativeSearchPath , $ "{ assemblyName . Name } .dll") ) ;
245247 }
246248 catch ( Exception ex )
247249 {
You can’t perform that action at this time.
0 commit comments