[Mono-list] Compiling and running ASP.NET 2.0 applications

Madars Vitolins madars.vitolins at gmail.com
Thu Nov 16 04:13:37 EST 2006


Hi Juan,

    This problem I solved. Problem was in fact that I had used old version
of mod_mono (it was 1.1.13) with mono 1.1.18. Upgrading mod_mono solved
these strange " XML Parsing..." problems.
And I have removed code from App_code to seperate assembly.

But currently I have question. How to compile aspx.cs files in root
directory, so that on server would not be any .cs files. Problem is in fact
that for asp.net 2.0 there is used partial classes and compiler  doesn't
look up for definitions in aspx files. MS has some tool called
aspnet_compile.exe, Is such tool for mono?

Thanks,
Madars



On 11/16/06, Juan Cristóbal Olivares <juancri at gmail.com> wrote:
>
> When I said xsp, I wanted to say xsp2 :)
>
> On 11/16/06, Juan Cristóbal Olivares <juancri at gmail.com> wrote:
> >
> > Hi Madars:
> >
> > Even when the support for ASP.NET 2 is not complete, you can run most of
> > the applications with xsp.
> >
> > - You need to compile all the source (.cs) files. I use a Makefile for
> > my website.
> > - You should include the dll files in the bin/ directory
> > - You should include the web.config, global.asax and other application
> > files in the application root directory
> > - You can include the .aspx files in any directory within the
> > application (not bin/)
> >
> > The error you sent seems to be generated for the web browser ???? So the
> > server is printing the aspx source or the aspx form is printing a XML??
> >
> > Juan C. Olivares
> > www.juancri.com
> >
> > On 10/24/06, Madars Vitolins < madars.vitolins at gmail.com> wrote:
> >
> > > Hi Sirs,
> > >
> > >     Is somewhere manual how to do this? I am using VS 2005 for
> > > building apps. Some time ago I tried to run ASP.NET 1.1 apps and all
> > > was OK. But with asp.net 2.0 and "App_Code" stuff it seems that it
> > > doesn't work.
> > >
> > >    To run ASP.NET 2.0 I need to fully compile all the source in binary
> > > dll manually? (* aspx.cs files too?).
> > >    And What are file paths should be used?
> > >    ./bin for dll?
> > >    . - for aspx, and other stuff, like web.config....
> > >
> > >    Running the uncompiled VS2005 created project with XSP2 I got
> > > following error:
> > >
> > > XML Parsing Error: no *element* found
> > > Location: http://127.0.0.1:1234/Default.aspx
> > > Line Number 1, Column 1:
> > >
> > > Thanks a lot in advance,
> > > Madars.
> > >
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> > >
> > >
> >
> >
> > --
> > Juan Cristóbal Olivares
> >
>
>
>
> --
> Juan Cristóbal Olivares
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061116/2ebbab19/attachment.html 


More information about the Mono-list mailing list