search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

ReferenceError: System is not defined Issue in MVC 5

Asked by Sim
5 years ago.

I have been stuck with ReferenceError: System is not defined issue.

If I create a new mvc project and add the references then everything works fine.
But when I add this to my current project, I get this error.

public ActionResult Backend()
{
var x = new Dps().CallBack(this);
return x;
}

The return type is wrong in x is System.Web.Mvc.ContentAResult.

I think there is a conflict with something but I can't seem to find anything as I have removed all the other references. Earlier I had reference to Kendo MVC and unity.mvc

Can anyone help me with this?

I have attached screenshots.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.