error related with missing assembly reference

Posted by Amritha444 under ASP.NET on 8/11/2011 | Points: 10 | Views : 1526 | Status : [Member] | Replies : 2
Hi all

When i add
[ToolboxItem(false)]
List<string> names = new List<string>();
in webservice error occuring " The type or namespace name &#39;List&#39; could not be found (are you missing a using directive or an assembly reference?) why this error comes which assembly have to be added

Thanks in Advance
Amrutha




Responses

Posted by: Loganathanav on: 8/12/2011 [Member] Starter | Points: 25

Up
0
Down
Can you please make sure to using the namespace at top like this.

using System.Collections.Generic;

This'll solve your problem.

Amritha444, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthick41287 on: 1/18/2013 [Member] Starter | Points: 25

Up
0
Down
am also got some error as assembly missing reference in asp.net using mvp pattern.I got this error in main design page at the time of calling to the presenter and making an connection with the interface view in view class file.

please anybody provide solution for me as how to clear that type of errors.

Karthick Meiyappan,
Programmer Analyst,
9994088266
karthick41287@gmail.com

Amritha444, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response