Reputation: 1966
I got an old project which consist of three different projects. When I am trying to build the project I am getting this error message:
"The type or namespace name 'Ajax' could not be found (are you missing a using
directive or an assembly reference?)"
I have found solution for missing project or namespace online but it looks like I am missing some default library.
The code looks like this:
//Ajax method to Check for existing file name
[Ajax.AjaxMethod()]
public DataTable CheckSearchName(string searchname){
// code goes here
}
Any help?
Upvotes: 1
Views: 11636
Reputation: 1966
Finally the problem was solved. I was missing a reference for this project. I found a Ajax.dll file in my website's bin folder. Then all I had to do is just adding a reference to this file (Website/Project > Add reference > Browse > (Browse to Bin folder) > Ajax.dll
That did the trick.
Upvotes: 2
Reputation: 1038
That sounds like the really old Microsoft AJAX.NET library from the .NET 1.1/2.0 days.
See here: Microsoft AJAX.NET, which has a download link to the class library: Ajax.NET Professional.
Upvotes: 1