In PluginManager InstallLocalPlugins the setup.BuildPackage call returns with the following exception:
System.ComponentModel.Win32Exception was unhandled
Message="The specified executable is not a valid Win32 application."
Source="System"
ErrorCode=-2147467259
NativeErrorCode=193
StackTrace:
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Mono.Addins.Database.SetupProcess.ExecuteCommand(IProgressStatus monitor, String registryPath, String startupDir, String name, String[] args)
at Mono.Addins.Database.AddinDatabase.ParseAddin(IProgressStatus progressStatus, String file, String outFile, Boolean inProcess)
at Mono.Addins.AddinRegistry.GetAddinDescription(IProgressStatus progressStatus, String file)
at Mono.Addins.Setup.SetupService.BuildPackageInternal(IProgressStatus monitor, String targetDirectory, String filePath)
at Mono.Addins.Setup.SetupService.BuildPackage(IProgressStatus statusMonitor, String targetDirectory, String[] filePaths)
at Do.Core.PluginManager.InstallLocalPlugins(SetupService setup) in C:\dev\private\DO\Do\Do.Core\PluginManager.cs:line 254
at Do.Core.PluginManager.Initialize() in C:\dev\private\DO\Do\Do.Core\PluginManager.cs:line 102
at Do.Do.Main(String[] args) in C:\dev\private\DO\Do\Do.cs:line 61
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
I haven't debug this bug yet, but what happens is that the setpservice in mono.addins tries to call some kind of executable which is not present or a non-win32 executable.
Will try to find the root cause later.