CursesSharp icon indicating copy to clipboard operation
CursesSharp copied to clipboard

Failure to build OS X native assembly

Open phrohdoh opened this issue 9 years ago • 0 comments

tmba:Xamarin Studio.app thill $ find . -name "*MacDev*.dll"
./Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.MacDev/MonoDevelop.MacDev.dll
./Contents/Resources/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.MacDev.Ide.dll

I'm not sure which MonoTouch needs to be installed, I can't find any addins by that name. Should I build it from source from one of the mono repos? Condition 'MonoTouchInstalled' not found in current extension context.

tmba:curses-sharp thill $ mdtool  --verbose build CursesSharp.Native.sln --target:Build --configuration:Release

Xamarin Studio Build Tool
ERROR [2016-07-08 08:21:40Z]: Add-in error (MonoDevelop.MacDev,6.0.1): Add-in could not be loaded
System.BadImageFormatException: Could not load file or assembly '/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.MacDev.Ide.dll' or one of its dependencies
File name: '/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.MacDev.Ide.dll'
  at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) <0x10a236ee0 + 0x0000e> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.LoadModule (Mono.Addins.Description.ModuleDescription module, System.Collections.ArrayList asmList) <0x10c30e4d0 + 0x00248> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.EnsureAssembliesLoaded () <0x10c30dfa0 + 0x000b7> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.CheckAddinDependencies (Mono.Addins.Description.ModuleDescription module, Boolean forceLoadAssemblies) <0x10c30e180 + 0x0019f> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.EnsureAssembliesLoaded () <0x10c30dfa0 + 0x000a0> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean throwIfNotFound) <0x10c30db60 + 0x00046> in <filename unknown>:0
  at Mono.Addins.AddinEngine.InsertAddin (IProgressStatus statusMonitor, Mono.Addins.Addin iad) <0x10c30ba70 + 0x002ef> in <filename unknown>:0
ERROR [2016-07-08 08:21:40Z]: Add-in error (MonoDevelop.IPhone,6.0.1): Add-in could not be loaded
System.BadImageFormatException: Could not load file or assembly '/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.MacDev.Ide.dll' or one of its dependencies
File name: '/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/Xamarin.Ide/Xamarin.MacDev.Ide.dll'
  at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) <0x10a236ee0 + 0x0000e> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.LoadModule (Mono.Addins.Description.ModuleDescription module, System.Collections.ArrayList asmList) <0x10c30e4d0 + 0x00248> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.EnsureAssembliesLoaded () <0x10c30dfa0 + 0x000b7> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.CheckAddinDependencies (Mono.Addins.Description.ModuleDescription module, Boolean forceLoadAssemblies) <0x10c30e180 + 0x0019f> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.EnsureAssembliesLoaded () <0x10c30dfa0 + 0x000a0> in <filename unknown>:0
  at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean throwIfNotFound) <0x10c30db60 + 0x00046> in <filename unknown>:0
  at Mono.Addins.AddinEngine.InsertAddin (IProgressStatus statusMonitor, Mono.Addins.Addin iad) <0x10c30ba70 + 0x002ef> in <filename unknown>:0
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
ERROR [2016-07-08 08:21:40Z]: Add-in error (): Condition 'MonoTouchInstalled' not found in current extension context.
FATAL ERROR [2016-07-08 08:21:40Z]: System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Could not resolve field token 0x04000c77
File name: 'MonoDevelop.Ide'
  at MonoDevelop.UnitTesting.UnitTestProjectServiceExtension.SupportsObject (MonoDevelop.Projects.WorkspaceObject item) <0x10e86d930 + 0x0001e> in <filename unknown>:0
  at MonoDevelop.Projects.WorkspaceObject.InitializeExtensionChain () <0x10e3396f0 + 0x002da> in <filename unknown>:0
  at MonoDevelop.Projects.WorkspaceObject.EnsureInitialized () <0x10e338d00 + 0x000f4> in <filename unknown>:0
  at MonoDevelop.Projects.WorkspaceObject.Initialize[T] (MonoDevelop.Projects.T instance) <0x10e338bf0 + 0x000b8> in <filename unknown>:0
  at MonoDevelop.Projects.Solution..ctor (Boolean loading) <0x10e337dd0 + 0x00341> in <filename unknown>:0
  at MonoDevelop.Projects.MSBuild.SlnFileFormat+<ReadFile>c__async0.MoveNext () <0x10e337090 + 0x0021d> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10a08c420 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10a08a2e0 + 0x000b3> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10a08a240 + 0x00093> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10a08a1f0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x10a08a620 + 0x00017> in <filename unknown>:0
  at MonoDevelop.Projects.MSBuild.MSBuildFileFormat+<ReadFile>c__async2.MoveNext () <0x10e336a10 + 0x001ac> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10a08c420 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10a08a2e0 + 0x000b3> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10a08a240 + 0x00093> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10a08a1f0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x10a08a620 + 0x00017> in <filename unknown>:0
  at MonoDevelop.Projects.MSBuildSerializationExtension+<LoadWorkspaceItem>c__AnonStorey8+<LoadWorkspaceItem>c__async7.MoveNext () <0x10e335ac0 + 0x0037b> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10a08c420 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10a08a2e0 + 0x000b3> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10a08a240 + 0x00093> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10a08a1f0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x10a08a620 + 0x00017> in <filename unknown>:0
  at MonoDevelop.Projects.ProjectService+<ReadWorkspaceItem>c__AnonStorey1B+<ReadWorkspaceItem>c__async1A.MoveNext () <0x10e3346a0 + 0x005d2> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10a08c420 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10a08a2e0 + 0x000b3> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10a08a240 + 0x00093> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10a08a1f0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x10a08a620 + 0x00017> in <filename unknown>:0
  at MonoDevelop.Projects.BuildTool+<Run>c__async0.MoveNext () <0x10db059a0 + 0x00a97> in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions) <0x10a12c010 + 0x00037> in <filename unknown>:0
  at System.Threading.Tasks.Task`1[TResult].GetResultCore (Boolean waitCompletionNotification) <0x10a34f3a0 + 0x00091> 24190 in <filename unknown>:0
  at System.Threading.Tasks.Task`1[TResult].get_Result () <0x10a34f320 + 0x00042> 24188 in <filename unknown>:0
  at MonoDevelopProcessHost.Main (System.String[] args) <0x1087f0db0 + 0x0095e> in <filename unknown>:0
---> (Inner Exception #0) System.BadImageFormatException: Could not resolve field token 0x04000c77
File name: 'MonoDevelop.Ide'
  at MonoDevelop.UnitTesting.UnitTestProjectServiceExtension.SupportsObject (MonoDevelop.Projects.WorkspaceObject item) <0x10e86d930 + 0x0001e> in <filename unknown>:0
  at MonoDevelop.Projects.WorkspaceObject.InitializeExtensionChain () <0x10e3396f0 + 0x002da> in <filename unknown>:0
  at MonoDevelop.Projects.WorkspaceObject.EnsureInitialized () <0x10e338d00 + 0x000f4> in <filename unknown>:0
  at MonoDevelop.Projects.WorkspaceObject.Initialize[T] (MonoDevelop.Projects.T instance) <0x10e338bf0 + 0x000b8> in <filename unknown>:0
  at MonoDevelop.Projects.Solution..ctor (Boolean loading) <0x10e337dd0 + 0x00341> in <filename unknown>:0
  at MonoDevelop.Projects.MSBuild.SlnFileFormat+<ReadFile>c__async0.MoveNext () <0x10e337090 + 0x0021d> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10a08c420 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10a08a2e0 + 0x000b3> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10a08a240 + 0x00093> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10a08a1f0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x10a08a620 + 0x00017> in <filename unknown>:0
  at MonoDevelop.Projects.MSBuild.MSBuildFileFormat+<ReadFile>c__async2.MoveNext () <0x10e336a10 + 0x001ac> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10a08c420 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10a08a2e0 + 0x000b3> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10a08a240 + 0x00093> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10a08a1f0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x10a08a620 + 0x00017> in <filename unknown>:0
  at MonoDevelop.Projects.MSBuildSerializationExtension+<LoadWorkspaceItem>c__AnonStorey8+<LoadWorkspaceItem>c__async7.MoveNext () <0x10e335ac0 + 0x0037b> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10a08c420 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10a08a2e0 + 0x000b3> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10a08a240 + 0x00093> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10a08a1f0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x10a08a620 + 0x00017> in <filename unknown>:0
  at MonoDevelop.Projects.ProjectService+<ReadWorkspaceItem>c__AnonStorey1B+<ReadWorkspaceItem>c__async1A.MoveNext () <0x10e3346a0 + 0x005d2> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10a08c420 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10a08a2e0 + 0x000b3> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10a08a240 + 0x00093> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10a08a1f0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x10a08a620 + 0x00017> in <filename unknown>:0
  at MonoDevelop.Projects.BuildTool+<Run>c__async0.MoveNext () <0x10db059a0 + 0x00a97> in <filename unknown>:0 <---

phrohdoh avatar Jul 08 '16 13:07 phrohdoh