[Mono-dev] Specifying culture, version, etc, for gmcs

Mads Bondo Dydensborg mbd at dbc.dk
Mon Sep 18 07:16:23 EDT 2006


Hi there

I have a MSVSNET 2005 build file, which I am trying to get xbuild to build. 

    <Reference Include="DBC.Data, Version=1.0.0.0, Culture=neutral, 
processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\BIN\DBC.Data.dll</HintPath>
    </Reference>

When running: 
$ xbuild DBC.ORM.csproj /verbosity:diag /t:Build /p:Configuration=Debug

I get calls gmcs with reference specs like this:

/reference:DBC.Data, Version=1.0.0.0, Culture=neutral, 
processorArchitecture=MSIL

which of course make gmcs barf:

:  warning CS2002:  Source file `Version=1.0.0.0,' specified multiple times
:  warning CS2002:  Source file `Culture=neutral,' specified multiple times
:  warning CS2002:  Source file `processorArchitecture=MSIL' specified 
multiple times

and

:  error CS2001:  Source file `Version=1.0.0.0,' could not be found
:  error CS2001:  Source file `Culture=neutral,' could not be found
:  error CS2001:  Source file `processorArchitecture=M

My question is this: How do I specify this to gmcs - or is it needed at all?

Thanks in advance,

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




More information about the Mono-devel-list mailing list