Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Custom macro error: Method for object of type 'System.Int32' not found, please check the macro or th

$
0
0
HelloI have following custom Macro method setup[MacroMethod(typeof(bool), @Comment @, 2)] [MacroMethodParam(0, @id@, typeof(int), @Comment@)] [MacroMethodParam(1, @number@, typeof(int), @Comment@)] public static object Method(EvaluationContext context, params object[] parameters) { // Method } When I run the Macro, I'm getting following error: Method for object of type 'System.Int32' not found, please check the macro or the method declaration.Is there something wrong in my setup?Kind regardsKenny

Viewing all articles
Browse latest Browse all 8832

Trending Articles