[Mono-list] web profile in asp.net 2.0 : compilation error

Damien maitredede at gmail.com
Fri Aug 29 10:53:58 EDT 2008


Hi,

I have read the post. I have edited my source list, apt-get update &&
upgrade...

A small reboot (needed by a kernel update)...

Same behavior...

It seams that the packages included in this repository are for mono 1.9.1,
but they don't include all asp.net related stuff (xsp2,
libapache2-mod-mono.....). After upgrade, they are still on version 1.2.5...

In Ubuntu 8.10, packages are at version 1.9.1...

May I wait 2 month ? Or does someone have another idea ?

Thanks all :o)

Damien

2008/8/29 Adrien Dessemond <adrien.dessemond at softhome.net>

> Damien,
>
> You don't need to wait until the next Ubuntu release as mono 1.9.1 has
> already been packaged for Ubuntu Hardy Heron (8.04). See :
>
> http://tempvariable.blogspot.com/2008/04/installing-mono-191-on-ubuntu-804-hardy.html
>
> Cheers,
>
>
> --
>
>
> On Fri, August 29, 2008 10:17 am, Damien wrote:
> > Thanks for fixing :o)
> >
> > Do you think this can be fixed into ubuntu 8.04 or do I have to wait for
> > Ubuntu 8.10 ?
> >
> > Damien
> >
> > 2008/8/29 Marek Habersack <grendel at twistedcode.net>
> >
> >> On Fri, 29 Aug 2008 14:37:01 +0200
> >> Damien <maitredede at gmail.com> wrote:
> >>
> >> > Hi,
> >> Hello,
> >>
> >> > I don't know if it is either a coding error of mine or a bug :
> >> >
> >> [snip]
> >> > In my app's web.config, I have in <system.web>:
> >> > <profile automaticSaveEnabled="true" enabled="true"
> >> > inherits="MyNameSpace.MyProfile, MyAssembly">
> >> > .....
> >> >
> >> > I have set the "inherits" value to type's fullname.
> >> >
> >> > I publish my website to a mono server (ubuntu 8.04, apache 2, mono
> >> 1.2.6,
> >> > mod-mono 1.2.5-2).
> >> >
> >> > When I try to see a webpage, I have a compilation error :
> >> >
> >> > error CS0118: `MyNameSpace' is a `namespace' but a `type' was expected
> >> >
> >> > Related line error :
> >> >
> >> > Line 17: public class ProfileCommon : MyNameSpace.MyProfile,
> >> MyAssembly {
> >> >
> >> >
> >> >
> >> >
> >> > It seems that Mono auto-generate a ProfileCommon class with using
> >> value
> >> > contained in "inherits" attribute without taking in account that it is
> >> a
> >> > type full name..
> >> >
> >> > So is it a coding error from me or a bug ? If a bug, only this version
> >> or
> >> > all versions ?
> >> [snip]
> >> It was a Mono bug. I've fixed it in revisions 111916 (trunk) and 111917
> >> (the 2.0
> >> branch). Thanks for reporting!
> >>
> >> regards,
> >>
> >> marek
> >>
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080829/42e3f084/attachment.html 


More information about the Mono-list mailing list