Garuda/Eagle in starpack
Not logged in
This forum is sponsored by Mistachkin Systems.
Eagle: Secure Software Automation
A plain .tcl run in the same way as before.
The wrapped exe raised an exception.

### MyApp.tcl
```
set auto_path [linsert $auto_path 0 [file join [pwd] lib]]
package require Garuda
eagle {
    object load -import -loadtype File ./GRPCRemoteClient/GRPCRemoteClient.dll
}
# => {GRPCRemoteClient, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null} c199bf34-6a72-4256-8e1c-5857959232ad 291
```

### MyApp.exe
```
set auto_path [linsert $auto_path 0 [file join [pwd] lib]]
package require Garuda
eagle {
    object load -import -loadtype File ./GRPCRemoteClient/GRPCRemoteClient.dll
}
# => System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

   at System.Reflection.RuntimeModule.GetTypes()

   at System.Reflection.Assembly.GetTypes()

   at Eagle._Components.Public.Interpreter.AddObjectNamespaces(Assembly assembly, Boolean nonPublic, MatchMode mode, String pattern, Boolean noCase, Result& error)

```

I have no idea how to write try-catch statement in Garuda to look into LoaderExceptions property.