[MonoDevelop] ASP.NET and MD problem

Ezequiel Chan emchan at fi.uba.ar
Thu Apr 12 22:04:54 EDT 2007


i have the same problem and solve this deleting "CodeFile=..." in the  .aspx 
file and adding "protected System.Web..." for any object in the codebehind 
file.
for example...

		protected System.Web.UI.HtmlControls.HtmlForm form1;
		protected System.Web.UI.WebControls.TreeView Treeview1; 
		protected System.Web.UI.WebControls.DataGrid Datagrid1;

desire that you understand to me... my english is very bad :(

Ezequiel

El Jueves, 12 de Abril de 2007 07:06, PChot escribió:
> Hello
>
> i'm testint asp.net on md 0.13.1.
>
> I experience some problems with compliation of 2.0 .NET
>
> MonoDevelop require "protected System.Web..." in codebehind file, which is
> absolutly not needed. and xsp2 knows how to diplay without that. For first
> test I use example file with codebehind, that is generate when open new
> codebehind file. Then i just want to run it, no way, I need to add
> declaration into codebehind file, that MD compiles, but works in XSP2.
>
> In additonal i test litle more complex page, there i include auto add
> headers to codebehind files, then compiles with MD, but in XSP2 i got
> double declaration.
>
> Any idea where might me problem? Shall i report as a bug?
>
> Nice day,
> Jan


More information about the Monodevelop-list mailing list