[MonoDevelop] ASP.NET and partial classes
lzachulski at gmail.com
Sun Jun 10 10:21:18 EDT 2007
Michael Hutchinson wrote:
> Do you have _tmpControl' declared in another partial class, or are you
> expecting it to be autogenerated? MD doesn't do this yet...
I'm expecting it will be autogenerated like with VS2005, but if MD
doesn't support this I can live with that... Does mono support that?
Because I have these feeling that that problem is more general.
> However, if you use the CodeFile attribute (<%Page
> CodeFile="Index.aspx.cs" Codebehind="ScrollbarControl.Pages.Index" %>)
> then the webserver will compile the codebehind for you, including
> generating the partial class with control declarations (i.e. you don't
> need to compile it in MD).
If I don't compile that page I don't have anything else to compile under
that project and as the result MD gives me that error msg
Building Solution WebPageWithScrollbarControl
Building Project: WebPageWithScrollbarControl (Debug)
Auto-generation of CodeBehind members is disabled. Skipping CodeBehind
Performing main compilation...
Compilation failed: 1 error(s), 0 warnings
error CS2008: No files to compile were specified
Build complete -- 1 error, 0 warnings
---------------------- Done ----------------------
Build: 1 error, 0 warnings
Is this right way to handle that kind of error?
> for some info on this.
More information about the Monodevelop-list