Skip to content

Commit

Permalink
Swallow an exception specific for .NET Core and other plugins (#3613)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock authored Aug 16, 2024
1 parent 232f87c commit f11a179
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ConnectorCore/DllConflictManagement/DllConflictManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ private static bool MajorAndMinorVersionsEqual(Version version1, Version version
// is core which will be checked as a dependency of many other libraries.
// there are a couple other random types that will trigger this exception as well
}
catch (FileLoadException)
{
// this is new for .NET Core and is invalid for Speckle assemblies. Not catching causes other issues
// with other plugins so swallowing is the best we can do.
}
return null;
}

Expand Down

0 comments on commit f11a179

Please sign in to comment.