Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Issue debugging an addin

$
0
0

I have an addin that I am trying to debug.  When I follow the WIKI instructions for debugging an addin, where you start a second (debug) version of SharpDevelop, the second copy starts and then crashes with the exception trace below.  I have searched for that assembly and I can't find it any where (ICSharpCode.Core.Presentation.Aero2).  I tried doing a clean and rebuild (Debug Mode) of SharpDevelop, but I still get this error.  The debug version runs just fine when I start it by clicking on the exe file.  This only happens when I try to run the second copy of SharpDevelop.  I am running the latest build, SharpDevelop 5.1 for both the copy debugging the addin and the debug version of SharpDevelp, and I am running this on a Windows 8.1 Pro.  I will try it on a Windows 7 machine tomorrow.  

Any help will be greatly appreciated.

 

System.IO.FileNotFoundException: Could not load file or assembly 'ICSharpCode.Core.Presentation.Aero2, Version=5.1.0.5216, Culture=neutral, PublicKeyToken=f829da5c02be14ee' or one of its dependencies. The system cannot find the file specified.

 

   at System.Reflection.RuntimeAssembly.nLoad

   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName

   at System.Reflection.RuntimeAssembly.InternalLoad

   at System.Reflection.RuntimeAssembly.InternalLoad

   at System.Reflection.Assembly.Load

   at System.Windows.SystemResources.ResourceDictionaries.LoadExternalAssembly

   at System.Windows.SystemResources.ResourceDictionaries.LoadThemedDictionary

   at System.Windows.SystemResources.FindDictionaryResource

   at System.Windows.SystemResources.FindResourceInternal

   at System.Windows.SystemResources.FindResourceInternal

   at System.Windows.Application.FindResource

   at ICSharpCode.Core.Presentation.GlobalStyles.FindResource in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\ICSharpCode.Core.Presentation\GlobalStyles.cs:line 35

   at ICSharpCode.Core.Presentation.GlobalStyles.get_WindowStyle in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\ICSharpCode.Core.Presentation\GlobalStyles.cs:line 39

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal

   at System.Reflection.RuntimeMethodInfo.Invoke

   at System.Reflection.RuntimePropertyInfo.GetValue

   at System.Reflection.RuntimePropertyInfo.GetValue

   at System.Windows.Markup.StaticExtension.GetFieldOrPropertyValue

   at System.Windows.Markup.StaticExtension.ProvideValue

   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue

   at MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.CallProvideValue

   at System.Xaml.XamlObjectWriter.Logic_ProvideValue

   at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue

   at System.Xaml.XamlObjectWriter.WriteEndMember

   at System.Xaml.XamlWriter.WriteNode

   at System.Windows.Markup.WpfXamlLoader.TransformNodes

   at System.Windows.Markup.WpfXamlLoader.Load

   at System.Windows.Markup.WpfXamlLoader.LoadBaml

   at System.Windows.Markup.XamlReader.LoadBaml

   at System.Windows.Application.LoadComponent

   at ICSharpCode.SharpDevelop.Workbench.WpfWorkbench.InitializeComponent in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Workbench\WpfWorkbench.xaml:line 1

   at ICSharpCode.SharpDevelop.Workbench.WpfWorkbench..ctor in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Workbench\WpfWorkbench.cs:line 95

   at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.InitializeWorkbench in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Workbench\WorkbenchStartup.cs:line 56

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Sda\CallHelper.cs:line 154

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Sda\CallHelper.cs:line 143

   at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Sda\SharpDevelopHost.cs:line 129

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Startup\SharpDevelopMain.cs:line 226

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Startup\SharpDevelopMain.cs:line 124

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main in y:\SharpDevelop\Develop\Zimnitz_5.1\src\Main\SharpDevelop\Startup\SharpDevelopMain.cs:line 81


Viewing all articles
Browse latest Browse all 1764

Trending Articles