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

Diego Frata diego.frata at gmail.com
Thu Sep 10 23:12:17 EDT 2009

I mean you should make sure that you don't have any property being set on
the designer file. And if it does, move it to the ASPX page. Eg:
this.Label1.Enabled = true; to <asp:Label Enabled="true" runat="server"
id="Label1" />

Anyway, just get rid of those files on your MonoDevelop project. Since
you're using ASP.NET <http://asp.net/> Application template of Visual Studio
2008, removing these .designer files might mess your project on Visual

Diego Frata
diego.frata at gmail.com

On Thu, Sep 10, 2009 at 5:14 PM, Jay McMeans <jay.mcmeans at sevis.com> wrote:

>  What do you mean by "initialize the properties on the aspx files".  This
> stuff currently works in VS2008 but when I take it over to MonoDevelop it
> gives me the CD0103 error.
> Thanks,
> Jay
> Diego Frata wrote:
> You don't need those .designer.cs files. Just throw them away and make sure
> to initialize the properties on the aspx files.
> Diego Frata
> diego.frata at gmail.com
> On Thu, Sep 10, 2009 at 4:59 PM, Jay McMeans <jay.mcmeans at sevis.com>wrote:
>> The problem is then that VS2008 sees them as a partial class and sees the
>> same declaration is the .designer.cs and the .aspx files.
>> Does anyone know a way to get VS2008 to understand .designer.cs files and
>> not double declare the variables? �Or does anyone know how to get
>> MonoDevelop to not need the .designer.cs files?
>> --
>> View this message in context:
>> http://www.nabble.com/Newbie-question%3A-The-name-does-not-exist-in-the-current-context%28CS0103%29--tp21326660p25390000.html
>>  Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20090911/556dca90/attachment.html 

More information about the Mono-aspnet-list mailing list