Skip to content

Commit

Permalink
[Introspection] Print path of bundled entry assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
hyazinthh committed Sep 2, 2024
1 parent 8433212 commit cb5e514
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Aardvark.Base/Introspection/Introspection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,12 @@ static Introspection()
}
else
{
Report.Line(4, $"[Introspection] Entry assembly: {entryAssembly.FullName} (path: {entryAssembly.GetLocationSafe()})");
var location = IntrospectionProperties.CurrentEntryBundle ?? entryAssembly.GetLocationSafe();
if (location != null)
Report.Line(4, $"[Introspection] Entry assembly: {entryAssembly.FullName} (path: {location})");
else
Report.Line(4, $"[Introspection] Entry assembly: {entryAssembly.FullName} (unknown location)");

var name = entryAssembly.GetName().Name;
EnumerateAssemblies(name, entryAssembly);
}
Expand Down

0 comments on commit cb5e514

Please sign in to comment.