[MonoDevelop] ASP.NET 2.0 -Master Page

Michael Hutchinson m.j.hutchinson at gmail.com
Tue May 22 11:05:04 EDT 2007


On 5/22/07, Michael Hutchinson <m.j.hutchinson at gmail.com> wrote:
> On 5/22/07, Paulo Aboim Pinto <esqueleto at tusofona.com> wrote:
> > /tmp/esqueleto-temp-aspnet-0/3ae7dee8/12729953.0.cs(14,26) : error
> > CS0260: Missing partial modifier on declaration of type
> > `MasterPageExample.chezTolib'. Another partial declaration of this type
> > exists
>
> Just a quick guess, as I have an exam tomorrow, but I suspect that
> your master page and its CodeBehind class trying to compile to the
> same-named class. Try renaming the Codebehind class.

Followup:

You're mixing up CodeBehind and CodeBeside. Either remove the CodeFile
attribute from the directive, or use partial classes (in which case
you'll have to put the CodeBeside file into the Code folder and tell
MS to deploy it rather than compiling it).

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list