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
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
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.
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.
Diff: