some build fixes for mono
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user