[MonoDevelop] Build ASP.NET web app project from console

Alexander Batishchev abatishchev at godfather.net.ru
Sat Mar 20 10:56:09 EDT 2010


$ xbuild /version
XBuild Engine Version 2.7.0.0
Mono, Version 2.7.0.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009.

$ ls /usr/lib/mono/2.0/*.targets
ls: cannot access /usr/lib/mono/2.0/*.targets: No such file or directory
Indeed, no targets at all. How can I install them?

mono itself was installed this way:

$ ./autogen.sh --prefix=/usr && make -j 4 && sudo make install

On Sat, Mar 20, 2010 at 4:34 PM, Ankit Jain <radical at gmail.com> wrote:

> > $ mono --version
> > Mono JIT compiler version 2.7 (/trunk/mono r153791 Thu Mar 18 03:42:04
> MSK
> > 2010)
>
> Could you check the version for xbuild also? It should be the same - 2.7.*
> .
> Are you using a parallel mono installation? Check the paths for xbuild and
> mono.
>
> The file Microsoft.CSharp.targets should be in -
> $prefix/lib/mono/2.0/Microsoft.CSharp.targets .
>
> -Ankit
>
> > Copyright (C) 2002-2010 Novell, Inc and Contributors.
> www.mono-project.com
> > TLS:           __thread
> > GC:            Included Boehm (with typed GC and Parallel Mark)
> > SIGSEGV:       altstack
> > Notifications: epoll
> > Architecture:  x86
> > Disabled:      none
> > Misc:          debugger softdebug
> > LLVM supported
> > On Sat, Mar 20, 2010 at 12:37 AM, Miguel de Icaza <miguel at novell.com>
> wrote:
> >>
> >> This should work with Mono 2.6, what does:
> >>
> >> mono --version
> >>
> >> Show?
> >>
> >> On Fri, Mar 19, 2010 at 5:20 PM, Alexander M. Batishchev
> >> <abatishchev at godfather.net.ru> wrote:
> >> > Thanks a lot!
> >> > But xbuild doesn’t works for me. What have I do to fix it?
> >> >
> >> > $ xbuild /target:Debug Example.sln
> >> > Imported project: "/usr/lib/mono/2.0/Microsoft.CSharp.targets" does
> not
> >> > exist.
> >> >
> >> > Or maybe it's better to ask in another mailing list?
> >> >
> >> > Alex
> >> >
> >> > -----Original Message-----
> >> > From: Jose Pino Medina [mailto:joil at joil.cl]
> >> > Sent: Saturday, March 20, 2010 12:15 AM
> >> > To: Alexander M. Batishchev
> >> > Cc: monodevelop-list at lists.ximian.com
> >> > Subject: Re: [MonoDevelop] Build ASP.NET <http://asp.net/> web app
> project from console
> >> >
> >> > On Fri, 19 Mar 2010 22:42:43 +0300, "Alexander M. Batishchev"
> >> > <abatishchev at godfather.net.ru> wrote:
> >> >> Hello.
> >> >
> >> > try whith,
> >> >
> >> > #>apt-get install mono-xbuild
> >> >
> >> > $>xbuild "solution".sln
> >> >
> >> >> Is it possible to run MD on Linux (Debian 5.0 in my case) without
> >> >> X-Server
> >> >> installed to compile an ASP.NET <http://asp.net/> Web Application
> project and it's
> >> >> dependencies (DLLs) to run in onto XSP?
> >> >>
> >> >> Thanks.
> >> >>
> >> >> Alex
> >> >
> >> > _______________________________________________
> >> > Monodevelop-list mailing list
> >> > Monodevelop-list at lists.ximian.com
> >> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >> >
> >
> >
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
> >
>
>
>
> --
> Blog : http://www.ankitjain.org/blog
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100320/2be10421/attachment-0001.html 


More information about the Monodevelop-list mailing list