Comments
1 comment
-
Hi Armando!
It looks like you have a support ticket open with my colleague Alex, so I'm just copying over the details here:
The problem there is that if the method callingPath.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
is inside one of the embedded assemblies, thenAssembly.GetExecutingAssembly().Location
will return an empty string (because the embedded assembly is loaded from memory).
This should be fixed by usingAssembly.GetExecutingAssembly().CodeBase
orAssembly.GetEntryAssembly().Location
- or not embedding the dependency.
Can you please give this a try?
Add comment
Please sign in to leave a comment.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.InternalGetDirectoryName(String path)
at GreenlineDataSync.GLDataSync..ctor(SyncType sType, ManualResetEvent exitEvent)
at GLService.RunThread.(SyncType , SyncOrigin )
at GLService.RunThread.()