Overloaded Action Method not found at Runtime from test
问题 I have two action methods : public ActionResult Edit(int id) { } public ActionResult Edit(Modelname model, string[] strParam) { } And I am calling the Edit(Modelname,string[]) from the unit test. var actionResult = controller.Edit(model, strParam); The code compiles at runtime , but when i debug the test method it gives me a method not found "MissingMethodException" . I tried commenting the Edit(int id) method and then debugging, still the same thing. Other tests are running fine, any help