[Mono-dev] Current SVN, 2.0, 2.1 and xbuild

Mads Bondo Dydensborg mbd at dbc.dk
Mon Nov 26 10:28:33 EST 2007


mandag 26 November 2007 skrev Mads Bondo Dydensborg:
> mandag 26 November 2007 skrev Rafael Teixeira:
> > AFAIR, 2.1 is a subset profile for silverlight so it should not be used 
for
> > non-silverlight development.
> > Keep using 2.0 for normal apps/libs.
> 
> Sounds great.
> 
> But, how do I do that, when xbuild selects those dll's?

Well, thanks for the hint about Moonlight. Disabling this, solved my problem 
with xbuild!

xbuild would appear to be somewhat broken, however.

Regards

Mads


> 
> Here is my setup:
> 
> - mono is updated from svn every night
> - my applications use a csproj file with something like this:
>     <Reference Include="System" />
> - xbuild does the building and constructs references like this:
>    /usr/local/mono-svn/lib/mono/gac/System/2.1.0.0__b77a5c561934e089/System.dll
> 
> So, what should I change? Should I pass some option to mono ./configure or 
> what?
> 
> Thanks in advance
> 
> Mads
> 
> 
> > 
> > On 11/26/07, Mads Bondo Dydensborg <mbd at dbc.dk> wrote:
> > >
> > > Hi there
> > >
> > > We use xbuild to build from csproj files. Currently xbuild seems to 
select
> > > the
> > > following System.dll reference:
> > >
> > >
> > 
> 
> /usr/local/mono-svn/lib/mono/gac/System/2.1.0.0__b77a5c561934e089/System.dll
> > >
> > > However, this seems to break our compilation for e.g. the "Process" 
class
> > > (System.Diagnostics.Process) and for ApplicationSettingsBase - both of
> > > which
> > > can not be found during compile.
> > >
> > > Interesstingly, xbuild seems to mix 2.1 and 2.0 references, when it 
build
> > > the
> > > command line for gmcs.
> > >
> > > So... what gives? What should we do? Wait for 2.1 to be complete? Can we
> > > do
> > > something when we configure mono during build? (Stay with the 
2.0profile?)
> > > Should we symlink the new System.dll to the old?
> > >
> > > Any help appreciated.
> > >
> > > Regards,
> > >
> > > Mads
> > >
> > > --
> > > Med venlig hilsen/Regards
> > >
> > > Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo
> > > Dydensborg
> > > Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86
> > > 77 34
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > >
> > 
> > 
> > 
> > -- 
> > Rafael "Monoman" Teixeira
> > ---------------------------------------
> > "I myself am made entirely of flaws, stitched together with good
> > intentions."
> > Augusten Burroughs
> > 
> 
> 
> 
> -- 
> Med venlig hilsen/Regards
> 
> Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo 
Dydensborg
> Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 
34
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 



-- 
Med venlig hilsen/Regards

Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34



More information about the Mono-devel-list mailing list