Menu

#51 No ShowSplit property and crash on search after compilation

v4.3.1
closed
nobody
None
1
2014-02-24
2014-02-22
CoDEmanX
No

After cloning the repo and loading the .sln, Visual Studio complains about SplitButton not having a ShowSplit property if I try to open the frmMain.cs.

It also throws a very cryptic error at me, ambiguous match?

at System.DefaultBinder.BindToMethod(BindingFlags bindingAttr, MethodBase[] match, Object[]& args, ParameterModifier[] modifiers, CultureInfo cultureInfo, String[] names, Object& state)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)

If I comment out the ShowSplit-line, and ignore the other warning, AstroGrep will crash on search after a full compilation:

An error occures searching: InvalidArgument=Value with value 0 is an invalid index.
Parameter name: index

Discussion

  • Jackslade

    Jackslade - 2014-02-22

    Are you getting the code from the trunk/AstroGrep directory? Also, I updated the solution to use VS 2012 (I have the express edition).

     

    Last edit: Jackslade 2014-02-22
  • Anonymous

    Anonymous - 2014-02-23

    It is definately the trunk from sf.net, at revision 56, clean working dir.

    I get the same warnings in VS 2010 Pro, 2012 Pro and 2013 Ultimate. 2008 won't open the solution.

     
  • Jackslade

    Jackslade - 2014-02-24

    Revision 57 should fix that issue. The ShowSplit method needed a getter. Also, there was an issue with declaring a context menu causing an ambiguous case.

     
  • Jackslade

    Jackslade - 2014-02-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     After cloning the repo and loading the .sln, Visual Studio complains about SplitButton not having a ShowSplit property if I try to open the frmMain.cs.
    
     It also throws a very cryptic error at me, ambiguous match?
    
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel