Module/project discovery does not work with mono
Closed this issue · 0 comments
vigoo commented
Run mono bari.exe info
for bari's own suite.
System.Diagnostics.Contracts.__ContractsRuntime+ContractException: Precondition failed.
at System.Diagnostics.Contracts.__ContractsRuntime.TriggerFailure (ContractFailureKind kind, System.String msg, System.String userMessage, System.String conditionTxt, System.Exception inner) [0x00000] in <filename unknown>:0
at System.Diagnostics.Contracts.__ContractsRuntime.ReportFailure (ContractFailureKind kind, System.String msg, System.String conditionTxt, System.Exception inner) [0x00000] in <filename unknown>:0
at System.Diagnostics.Contracts.__ContractsRuntime.Requires (Boolean condition, System.String msg, System.String conditionTxt) [0x00000] in <filename unknown>:0
at Bari.Core.Model.SourceSet.Add (Bari.Core.Generic.SuiteRelativePath path) [0x00000] in <filename unknown>:0
at Bari.Core.Model.Discovery.ModuleProjectDiscovery.AddAllFiles (Bari.Core.Model.SourceSet target, IFileSystemDirectory dir, Bari.Core.Model.SourceSetIgnoreList ignoreList) [0x00000] in <filename unknown>:0
at Bari.Core.Model.Discovery.ModuleProjectDiscovery.DiscoverProjectSources (Bari.Core.Model.Project project, IFileSystemDirectory projectDir, Bari.Core.Model.SourceSetIgnoreLists ignoreLists) [0x00000] in <filename unknown>:0
at Bari.Core.Model.Discovery.ModuleProjectDiscovery+<>c__DisplayClass2.<ExtendWithDiscoveries>b__1 (System.String moduleName) [0x00000] in <filename unknown>:0
at System.Monads.MaybeIEnumerable.Do[String] (IEnumerable`1 source, System.Action`1 action) [0x00000] in <filename unknown>:0
at Bari.Core.Model.Discovery.ModuleProjectDiscovery+<>c__DisplayClass2.<ExtendWithDiscoveries>b__0 (IFileSystemDirectory s) [0x00000] in <filename unknown>:0
at System.Monads.MaybeObjects.With[IFileSystemDirectory,IEnumerable`1] (IFileSystemDirectory source, System.Func`2 action) [0x00000] in <filename unknown>:0
at Bari.Core.Model.Discovery.ModuleProjectDiscovery.ExtendWithDiscoveries (Bari.Core.Model.Suite suite) [0x00000] in <filename unknown>:0
at Bari.Core.Model.Discovery.ExplorerRunner.RunAll (Bari.Core.Model.Suite suite) [0x00000] in <filename unknown>:0
at Bari.Core.Process.MainProcess.Run () [0x00000] in <filename unknown>:0
at Bari.Console.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0