some build fixes for mono

This commit is contained in:
markpollack
2009-08-03 20:58:49 +00:00
parent 4c4cf828b4
commit 9852b90c45
2 changed files with 13 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
doc="${current.bin.dir}/${project::get-name()}.xml">
<nowarn>
<warning number="${nowarn.numbers.test}" />
<warning number="${nowarn.numbers.test},219" if="${nant.settings.currentframework=='mono-2.0'}" />
</nowarn>
<sources failonempty="true">
<include name="**/*.cs" />
@@ -27,6 +28,13 @@
</resources>
<references basedir="${current.bin.dir}">
<include name="*.dll" />
<include name="System.Data.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Data.Common.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Data.OracleClient.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Drawing.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.EnterpriseServices.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Transactions.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Logging.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Data.OracleClient.dll" />
<exclude name="${project::get-name()}.dll" />
</references>

View File

@@ -17,6 +17,11 @@
<include name="*.dll"/>
<include name="*.pdb"/>
<include name="*.xml"/>
<include name="System.Web.Services.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Web.Services.Protocols.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Web.Services.Description.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.ServiceModel.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<include name="System.Xml.dll" if="${nant.settings.currentframework=='mono-2.0'}" />
<exclude name="Spring.Services.dll"/>
<exclude name="Spring.Services.pdb"/>
<exclude name="Spring.Services.xml"/>