[Mono-dev] Private version of C5 / Mono XBuild Problems
Dan Shechter
dans at houmus.org
Sun May 6 17:03:04 EDT 2007
Hi,
I have a privately compiled version of C5, since I need it both of Microsoft
.NET framework and in Mono.
My .csproj files contain the proper reference:
<Reference Include="C5, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=e15b962316033698, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\deplibs\C5.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral,
PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\deplibs\log4net.dll</HintPath>
</Reference>
<Reference Include="mscorlib">
<Name>mscorlib</Name>
<HintPath>mscorlib.dll</HintPath>
</Reference>
<Reference Include="System">
<Name>System</Name>
<HintPath>System.dll</HintPath>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing">
<Name>System.Drawing</Name>
<HintPath>System.Drawing.dll</HintPath>
</Reference>
<Reference Include="System.Windows.Forms">
<Name>System.Windows.Forms</Name>
<HintPath>System.Windows.Forms.dll</HintPath>
</Reference>
<Reference Include="System.Xml">
<Name>System.Xml</Name>
<HintPath>System.Xml.dll</HintPath>
</Reference>
Hoewever, when I build the project using XBuild, I get the following error:
error CS0246: The type or namespace name `C5' could not be found. Are you
missing a using directive or an assembly reference?
After the command line seems to miss the C5 reference completely...:
Target CoreCompile:
Tool /opt/mono-trunk/bin/gmcs execution started with
arguments: /noconfig /debug:full /delaysign- /debug+ /optimize-
/out:../../build/...... [CUT FOR BREVITY]
/target:library /warnaserror- /unsafe- /checked- /define:DEBUG;TRACE
/reference:../../deplibs/log4net.dll
/reference:/opt/mono-trunk/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll
/reference:/opt/mono-trunk/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
/reference:/opt/mono-trunk/lib/mono/gac/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
/reference:/opt/mono-trunk/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
/reference:/opt/mono-trunk/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
/reference:/opt/mono-trunk/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
/warn:4
Is there anything I can do besides pray?
As you can see log4net does get to be included in the command line...
--
Shechter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070507/20cf10f7/attachment.html
More information about the Mono-devel-list
mailing list