Hi,
I'm rather new at Nant but I've got the following problem.
My project consits out of 6 Assmeblies.
When I build it using VS.Net 2003 and deploy it on the device , everything works fine.
When using the CSC task in nant, the assembly triggers an NullReferenceException during execution
Snippit of my build file :
<?xml version="1.0"?>
<project name="ETC.PhiliPocket.Order" default="build">
<property name="debug" value="false"/>
<property name="nant.settings.currentframework" value="netcf-1.0" />
<echo message="CurrentFramework = ${nant.settings.currentframework}" />
<target name="clean" description="remove all generated files">
<delete file="..\bin\ETC.PhiliPocket.Order.dll" failonerror="false"/>
</target>
<target name="build" description="compiles the source code">
<csc target="library" output="..\bin\ETC.PhiliPocket.Order.dll"
verbose="false"
debug="${debug}" optimize="true">
<sources>
<includes name="AssemblyInfo.cs" />
<includes name="OrderMain.cs" />
<includes name="BmpPage.cs" />
- - -
<includes name="Paymode\MsgPaymode.cs" />
<includes name="Paymode\PaymPage.cs" />
<includes name="Paymode\PaymGrid.cs" />
<includes name="Paymode\PaymItem.cs" />
</sources>
<references>
<includes name="..\bin\ETC.Tools.dll" />
<includes name="..\bin\ETC.Hardware.dll" />
<includes name="..\bin\ETC.CeDinoClient.dll" />
<includes name="..\bin\ETC.GapiEngine.dll" />
<includes name="..\bin\ETC.PhiliPocket.dll" />
<includes name="system.dll" />
<includes name="System.Drawing.dll" />
<includes name="System.Windows.Forms.dll" />
<includes name="mscorlib.dll" />
</references>
</csc>
</target>
</project>
Does someone have a clue on how i can fix this ?
Kind Regards
Frank Vanderlinden
R&D
ETC NV
Schietstandlaan 5
2300 Turnhout
Belgium
+32 (0)14 42 32 37