Attempting to run the dupfinder from ReSharper's command line tools under Mono on Mac OS results in the exception below. Is it possible to add support for non-Windows machines?
Internal exception thrown: An exception was thrown by the type initializer for JetBrains.Util.FileSystemDefinition SetErrorMode
— EXCEPTION #1/3 [EntryPointNotFoundException]
Message = SetErrorMode
ExceptionPath = Root.InnerException.InnerException
ClassName = System.EntryPointNotFoundException
HResult = COR_E_ENTRYPOINTNOTFOUND=COR_E_UNSUPPORTEDFORMAT=80131523
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
at (wrapper managed-to-native) JetBrains.Interop.WinApi.Kernel32Dll:SetErrorMode (JetBrains.Interop.WinApi.Declarations.Constants.Win32ErrorMode)
at JetBrains.Util.FileSystemDefinition..cctor () [0x00000] in <filename unknown>:0
”
— Outer —
— EXCEPTION #2/3 [TypeInitializationException]
Message = “An exception was thrown by the type initializer for JetBrains.Util.FileSystemDefinition”
ExceptionPath = Root.InnerException
ClassName = System.TypeInitializationException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_SYSTEM=80131501
Source = JetBrains.Platform.ReSharper.Util
TypeName = JetBrains.Util.FileSystemDefinition
StackTraceString = “
at JetBrains.Util.FileSystemPathParser.CanBeProvenNormalizedFast (System.String path) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPathParser.Normalize (System.String path) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPath.GetCanonicalPath (System.String path) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPath..ctor (System.String path, Boolean isPathAlreadyCanonical) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPath.Create (System.String path, Boolean isPathAlreadyCanonical) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemPath.Parse (System.String path) [0x00000] in <filename unknown>:0
at JetBrains.Util.FileSystemUtil.GetCurrentDirectory () [0x00000] in <filename unknown>:0
at JetBrains.CommandLine.Common.ConsoleApplicationHost+<>c__DisplayClass2.<Main>b__1 (JetBrains.CommandLine.Common.Logging.ConsoleLoggerListener listener) [0x00000] in <filename unknown>:0
”
— Outer —
— EXCEPTION #3/3 [LoggerException]
Message = “An exception was thrown by the type initializer for JetBrains.Util.FileSystemDefinition”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.Logging.Logger.LogException(System.Exception ex)
at JetBrains.CommandLine.Common.ConsoleApplicationHost+<>c__DisplayClass2.<Main>b__1(JetBrains.CommandLine.Common.Logging.ConsoleLoggerListener listener)
at JetBrains.CommandLine.Common.Logging.CommandLineLoggerListeners+<>c__DisplayClass1
1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<WithDefaultListener>b__0(JetBrains.DataFlow.Lifetime lifetime)
at JetBrains.DataFlow.Lifetimes.Using(System.Func
2 F)
at JetBrains.CommandLine.Common.Logging.CommandLineLoggerListeners.WithDefaultListener(Boolean logMessages, System.Func`2 action)
… at JetBrains.CommandLine.Common.Logging.CommandLineLoggerListeners.WithDefaultListener(Boolean logMessages, System.Func`2 action)
at JetBrains.CommandLine.Common.ConsoleApplicationHost.Main(System.Func`1 createApplicationDescriptor, System.String[] args)
at JetBrains.CommandLine.DupFinder.DupFinderProgram.Main(System.String[] args)
”