CodeRushPro 10.2.6, RefactorPro, Dx 10.2.6. VS 2010, WinVista 32
Followed instructions from http://code.google.com/p/dxcorecommunityplugins/wiki/DX_NewItem.
Bellow is corresponding log created after invoking the command. I think that Dx_NewItem requires Dx
<item category="Commands" color="ARGB:255:227:255:255"> <message>An invalid number of parameters were assigned to a parameter collection. Expected was '0' but it was '1'.</message> <imageindex>2</imageindex> <timestamp>2011-04-13 17:40:38Z</timestamp> <datatype>System.String, mscorlib</datatype> <data>Call stack: at DevExpress.CodeRush.Core.TextCommand.OnExecute(ExecuteTextCommandEventArgs ea) at DX_TextExpansionEngine.TextExpansionEnginePlugin.ExpandText(String expansion, TextExpansionHelper helper) at DX_TextExpansionEngine.TextExpansionEnginePlugin.Insert(TextDocument document, SourcePoint[] insertionPoints, String[] expansions, Boolean allowCancel, Boolean format) at DX_TextExpansionEngine.TextExpansionEnginePlugin.Insert(TextDocument textDoc, SourcePoint insertionPos, String expansion, Boolean allowCancel, Boolean format) at DevExpress.CodeRush.Core.TextExpansionServices.Insert(TextDocument textDoc, SourcePoint insertionPos, String expansion, Boolean allowCancel, Boolean format) at DevExpress.CodeRush.Core.TextExpansionServices.Insert(String expansion, Boolean allowCancel, Boolean format) at CR_Templates.NewTemplateEngine.DoExpansion(Template template, TemplateExpansion expansion, SourceRange& range) at CR_Templates.NewTemplateEngine.DoExpansion(Template template, TemplateData data, TemplateExpansion expansion) at CR_Templates.NewTemplateEngine.ExpandAtCursor(Boolean aIsSecondaryTrigger) at DevExpress.CodeRush.Core.TemplateServices.ExpandAtCursor(Boolean isSecondaryTrigger) at CR_Templates.NewTemplateEnginePlugIn.actExpandTemplate_Execute(ExecuteEventArgs ea) at DevExpress.CodeRush.Core.Action.OnExecute(vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled) at DevExpress.CodeRush.Core.Action.DoExecute(vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled) at DevExpress.CodeRush.Core.ActionProxy.DoExecute(vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled) at DevExpress.CodeRush.Core.Action.DoExecute(String parameters, Boolean& handled) at DX_ShortcutEngine.CommandKeyBinding.Execute() at DX_ShortcutEngine.ShortcutEnginePlugIn.ExecuteBinding(KeyPressedEventArgs e, CommandKeyBinding binding) at DX_ShortcutEngine.ShortcutEnginePlugIn.ExecuteKeyboardAction(KeyPressedEventArgs e, CommandKeyBinding binding) at DX_ShortcutEngine.ShortcutEnginePlugIn.ShortcutsPlugIn_KeyPressed(KeyPressedEventArgs e) at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) at DevExpress.CodeRush.Core.EventNexus.InvokeHandler(Int32 key, Delegate method, Object[] args) at DevExpress.CodeRush.Core.EventNexus.InvokeHandlerAndProfile(Int32 key, Delegate method, Object[] args) at DevExpress.CodeRush.Core.EventNexus.ExecuteHandler(Int32 key, Delegate method, Object[] args) at DevExpress.CodeRush.Core.EventNexus.FireHandler(Int32 key, PropertyInfo cancelProperty, Int32 cancelArgIndex, Object[] args) at DevExpress.CodeRush.Core.EventNexus.OnKeyPressed(KeyPressedEventArgs ea) at DevExpress.CodeRush.Core.HookMonitor.ehKeyboardHook_Hook(KeyboardHook hook, KeyboardHookEventArgs e) at DevExpress.CodeRush.Win32.Hooks.KeyboardHook.OnHook(Int32 aCode, IntPtr aWParam, IntPtr aLParam) at DevExpress.CodeRush.Win32.Hooks.WindowsHook.BasicHookProc(Int32 aCode, IntPtr aWParam, IntPtr aLParam) </data> </item> <item category="Templates" color="ARGB:255:200:255:200"> <message>Exception thrown in a handler for the Execute event. TextCommand: NewItem. (System.MissingMethodException)</message> <imageindex>3</imageindex> <timestamp>2011-04-13 17:40:38Z</timestamp> <datatype>System.MissingMethodException, mscorlib</datatype> <data>System.MissingMethodException Method not found: 'DevExpress.CodeRush.StructuralParser.LanguageElement DevExpress.CodeRush.Core.SourceModelServices.get_ActiveFileNode()'. DX_NewItem System.String GetUniqueFileName(System.String) at DX_NewItem.PlugIn1.GetUniqueFileName(String FileBase) at DX_NewItem.PlugIn1.NewItem_Execute(ExecuteTextCommandEventArgs ea) in D:\Development\CommunityBuild\Source\Export\DX_NewItem\DX_NewItem\PlugIn1.vb:line 61 at DevExpress.CodeRush.Core.TextCommand.OnExecute(ExecuteTextCommandEventArgs ea)</data> </item>
Comment #1
Posted on Apr 29, 2011 by Quick RabbitI think that Dx_NewItem requires Dx_Extras, which is unfortunately not part of package. But can't verify, the "Download" button for NewItem has invalid URL: http://www.rorybecker.me.uk/DevExpress/Plugins/Community/DX_NewItem/
Comment #2
Posted on May 12, 2011 by Helpful BearMy sincere apologies. We have had some hosting problems of late. These should now be corrected.
Additionally the FileNotFound exception (in relation to DX_Extras) has been fixed in build 1804
Comment #3
Posted on May 12, 2011 by Helpful Bear(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium