|
|
|
@ -194,10 +194,12 @@ public abstract class CallLibraryScannerHandler<TRequest> |
|
|
|
|
|
|
|
|
|
|
|
string processFileName = Environment.ProcessPath ?? string.Empty; |
|
|
|
string processFileName = Environment.ProcessPath ?? string.Empty; |
|
|
|
string processExecutable = Path.GetFileNameWithoutExtension(processFileName); |
|
|
|
string processExecutable = Path.GetFileNameWithoutExtension(processFileName); |
|
|
|
string folderName = Path.GetDirectoryName( |
|
|
|
string folderName = Path.GetDirectoryName(processFileName); |
|
|
|
"dotnet".Equals(processExecutable, StringComparison.OrdinalIgnoreCase) |
|
|
|
if ("dotnet".Equals(processExecutable, StringComparison.OrdinalIgnoreCase)) |
|
|
|
? typeof(EntityIdResult).Assembly.Location |
|
|
|
{ |
|
|
|
: processFileName); |
|
|
|
folderName = AppContext.BaseDirectory; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(folderName)) |
|
|
|
if (!string.IsNullOrWhiteSpace(folderName)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
string localFileName = Path.Combine(folderName, executable); |
|
|
|
string localFileName = Path.Combine(folderName, executable); |
|
|
|
|