[Mono-aspnet-list] Newbie question: The name does not exist in the current context(CS0103)]

Rémi remi.thebault at gmail.com
Wed Apr 8 03:49:28 EDT 2009


up !

I have the same problem :
<asp:Login ID="Login1" runat="server" ... in aspx file

in the cs file, any reference to Login1 raise error CS0103 because the name
is unknown.

the same code works with MS Web Developer. I imported it directly in Linux.
Is there something I missed in monodevelop or gmcs configuration or ... ?
I know there is full support for partial classes but does it naturally takes
care of looking for aspx file ?

Thanks for help
Rémi


shroukkhan wrote:
> 
> hi, i have been trying to run an asp.net site on mono. i have imported the
> web files to a empty asp.net c# project in mono and trying to compile it
> with mono develop.
> 
> and i keep running into a million of  these  following errors:
> 
> [Task:File=/root/AdmakerWorld/Controls/Admin/AddAgency.ascx.cs, Line=37,
> Column=21, Type=Error, Priority=Normal, Description=The name `drpZipCodes'
> does not exist in the current context(CS0103)]
> 
>  `drpZipCodes'  is a  asp.net DropDownList defined in the aspx page. and
> the error is generated in the associated .cs page. aparently the .cs page
> is not able to obtain information from aspx page.
> 
> i think this is a pretty common error and there should be some straight
> forward solution to it. but i just cant find it anywhere.
> 
> anyone has any idea?it will be greately apprecited.
> 
> regards,
> Shrouk Khan
> 

-- 
View this message in context: http://www.nabble.com/Newbie-question%3A-The-name-does-not-exist-in-the-current-context%28CS0103%29--tp21326660p22940333.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list