Skip to content

Commit 504021d

Browse files
committed
- package upgrade
1 parent 922902e commit 504021d

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

Shuttle.Core.Reflection/.package/package.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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>
@@ -12,10 +12,10 @@
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>

Shuttle.Core.Reflection/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
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)]

Shuttle.Core.Reflection/ReflectionService.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)