Bug 8367 - [CorDebugger] opening an existent project receive Assembly load error and debugger is disabled
Summary: [CorDebugger] opening an existent project receive Assembly load error and deb...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 3.0.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
: 8395 ()
Depends on:
Blocks:
 
Reported: 2012-11-13 09:11 UTC by Stefano Zaglio
Modified: 2013-01-03 07:45 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Stefano Zaglio 2012-11-13 09:11:23 UTC
Opening an existent solution I receive the error:

Error while updating status of command: MonoDevelop.Debugger.DebugCommands.Debug

And any kind of debugger is disabled.

I use an Italian version of Win7Pro.
The only thing I done before was install mono 2.10.9 and uninstall mono 2.10.8.
The project is a GTK form type.

Details are:

System.IO.FileNotFoundException: Impossibile caricare il file o l'assembly 'MonoDevelop.AspNet, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null' o una delle relative dipendenze. Impossibile trovare il file specificato.
Nome file: 'MonoDevelop.AspNet, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null'
   in MonoDevelop.Debugger.Win32.CorDebuggerEngine.CanDebugCommand(ExecutionCommand command)
   in MonoDevelop.Debugger.DebuggerEngine.CanDebugCommand(ExecutionCommand cmd)
   in MonoDevelop.Debugger.DebuggingService.GetFactoryForCommand(ExecutionCommand cmd)
   in MonoDevelop.Debugger.DebuggingService.CanDebugCommand(ExecutionCommand command)
   in MonoDevelop.Debugger.DebugExecutionHandlerFactory.CanExecute(ExecutionCommand command)
   in MonoDevelop.Projects.DotNetProject.OnGetCanExecute(ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.DefaultProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(SolutionEntityItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.NUnit.NUnitProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(SolutionEntityItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(SolutionEntityItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(SolutionEntityItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(SolutionEntityItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(SolutionEntityItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(SolutionEntityItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.SolutionItem.CanExecute(ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.Solution.OnGetCanExecute(ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.DefaultProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(Solution solution, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(WorkspaceItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.NUnit.NUnitProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(Solution solution, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(WorkspaceItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(Solution solution, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(WorkspaceItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(Solution solution, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(WorkspaceItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(Solution solution, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(WorkspaceItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(Solution solution, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(WorkspaceItem item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.ProjectServiceExtension.CanExecute(IBuildTarget item, ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Projects.WorkspaceItem.CanExecute(ExecutionContext context, ConfigurationSelector configuration)
   in MonoDevelop.Ide.ProjectOperations.CanExecute(IBuildTarget entry, ExecutionContext context)
   in MonoDevelop.Debugger.Extensions.CanDebug(ProjectOperations opers, IBuildTarget entry)
   in MonoDevelop.Debugger.DebugHandler.Update(CommandInfo info)
   in MonoDevelop.Components.Commands.CommandHandler.InternalUpdate(CommandInfo info)
   in MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo(ActionCommand cmd, CommandInfo info)
   in MonoDevelop.Components.Commands.CommandManager.GetCommandInfo(Object commandId, CommandTargetRoute targetRoute)
Comment 1 Mikayla Hutchinson [MSFT] 2012-11-14 19:26:54 UTC
The Win32 debugger addin references the MonoDevelop.AspNet assembly but its addin manifest does not have a dependency on the AspNet addin, so it's not guaranteed that the AspNet addin's assemblies will be loaded before the Win32 debugger.
Comment 2 Mikayla Hutchinson [MSFT] 2012-11-14 19:27:10 UTC
*** Bug 8395 has been marked as a duplicate of this bug. ***
Comment 3 Jeffrey Stedfast 2012-11-20 14:33:53 UTC
should be fixed in git master now that the Win32 Debugger addin has a dependency on the AspNet addin
Comment 4 Stefano Zaglio 2013-01-03 03:56:14 UTC
The C# GUIDEMO solution from:

http://sourceforge.net/projects/polyclipping/files/clipper_ver4.9.7.zip/download

give this problem with last v3.0.6.

A grep search do not show any "aspnet" string.

I don't understand if is a problem of IDE or of configuration of IDE or of the solution/project properties.

I have Sharpdevelop installed on the same pc.
Comment 5 Mikayla Hutchinson [MSFT] 2013-01-03 07:45:52 UTC
It was fixed but the fix didn't make it into 3.0.6. It should be in the 3.1 beta, AFAICT.