Je compile 2 librairies qui utilisent toutes les 2 System.Data et Mono.Data.SqliteClient:
[csc target="library" output="${dir}/Database.dll"]
[sources]
[include name="Libraries/Database/*.cs" /]
[/sources]
[references]
[include asis="true" name="/usr/lib/mono/2.0/System.Data.dll" /]
[include asis="true" name="/usr/lib/mono/2.0/Mono.Data.SqliteClient.dll" /]
[/references]
[/csc]
[csc target="library" output="${tests.dir}/TestDatabaseAccess.dll"]
[sources>
[nclude name="NUnit/Libraries/TestDatabaseAccess.cs" /]
[/sources>
[references]
[include asis="true" name="${tests.dir}/Database.dll" /]
[include asis="true" name="/usr/lib/mono/1.0/log4net.dll" /]
[include asis="true" name="/usr/lib/mono/2.0/System.Data.dll" /]
[include asis="true" name="/usr/lib/mono/2.0/Mono.Data.SqliteClient.dll" /]
[/references]
[/csc]
Database.dll compile correctement, mais pas TestDatabaseAcess.dll.La seule (…)