.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
2012 to 2013 XamlParseE xception
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi all, i'm working on a .net plugin writed in c#.
Today i tried to run the debug into Autocad 2013 version...
When Autocad Starts (before i load the plugin witn NELOAD) i get an exception.
Tried to clean and rebuild;
Changed all references to the new path;
Any ideas?
thank you very much.
Dario.
System.Windows.Markup.XamlParseException was unhandled
Message=Provide value on 'System.Windows.Markup.StaticExtension' threw an exception.
Source=PresentationFramework
LineNumber=0
LinePosition=0
StackTrace:
at System.Windows.Markup.WpfXamlLoader.Load(XamlReade
at System.Windows.ResourceDictionary.CreateObject(Key
at System.Windows.ResourceDictionary.RealizeDeferCont
at System.Windows.ResourceDictionary.GetValueWithoutL
at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
at System.Windows.ResourceDictionary.GetValueWithoutL
at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolb
at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolb
at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolb
at Autodesk.AutoCAD.Internal.Windows.QuickAccessToolb
InnerException: System.Reflection.TargetInvocationException
Message=Exception has been thrown by the target of an invocation.
Source=mscorlib
StackTrace:
at System.RuntimeMethodHandle._InvokeMethodFast(IRunt
at System.RuntimeMethodHandle.InvokeMethodFast(IRunti
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.GetValue(Obj
at System.Windows.Markup.StaticExtension.GetFieldOrPr
at System.Windows.Markup.StaticExtension.ProvideValue
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProv
InnerException: System.InvalidProgramException
Message=Common Language Runtime detected an invalid program.
Source=Acmgd
StackTrace:
at Autodesk.AutoCAD.ApplicationServices.Application.g
InnerException:
Re: 2012 to 2013 XamlParseE xception
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Dario,
I know your question is already some days old, but maybe still helpful??:
I've had the exact same problem as you (except that it was for AutoCAD2012), so I found your entry here - but unfortunately: no answer or solution. Other google hits didn't help.
Now, after spending some hours, I've figured it out myself: In the references of my project I had the properties for acmgd.dll and acdbmgd.dll not set to 'copy local: false'. After I changed this, the exception didn't occur anymore and I'm able to debug once again... ![]()
(Only by the way: the exception can be easily reproduced using one of the ObjectARX2012 sample projects 'Prompts', change target to .net4 (not sure if this is really necessary), change 'copy local' of acmgd.dll and acdbmgd.dll to true, select acad.exe for 'start external program', start debugging)
Hope this helps,
Silke
