Im not sure why but it's adding the files twice for compilation sometimes. Can anyone tell me what Im doing wrong?
 
 
Tx:
      [vbc] V:\devel\out\Util.dll is out of date, recompiling.
      [vbc] Compiling 10 files to V:\devel\out\Tx.dll
/imports:
      [vbc] Contents of C:\DOCUME~1\ADMINI~1.VID\LOCALS~1\Temp\tmpE8.tmp
/nologo
"/target:library"
"/out:V:\devel\out\Tx.dll"
"/reference:V:\devel\out\Util.dll"
"/reference:C:\WINNT\Microsoft.NET\Framework\v1.0.3705\System.dll"
"/reference:C:\WINNT\Microsoft.NET\Framework\v1.0.3705\System.Data.dll"
"V:\devel\src\core\tx\Payment.vb"
"V:\devel\src\core\tx\PayPalPayment.vb"
"V:\devel\src\core\tx\ProtxPayment.vb"
"V:\devel\src\core\tx\Refund.vb"
"V:\devel\src\core\tx\Tx.vb"
"V:\devel\src\core\Tx\Payment.vb"
"V:\devel\src\core\Tx\PayPalPayment.vb"
"V:\devel\src\core\Tx\ProtxPayment.vb"
"V:\devel\src\core\Tx\Refund.vb"
"V:\devel\src\core\Tx\Tx.vb"
 
      [vbc] Starting 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\vbc.exe (@C:\DOCUME~1\ADMINI~1.VID\LOCALS~1\Temp\tmpE8.tmp)' in 'V:\devel'
 
BUILD FAILED
V:\devel\vidology.build(22,6):
 External Program Failed: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\vbc.exe return 1
Output:
V:\devel\src\core\Tx\PayPalPayment.vb(12) : error BC30175: class 'PayPalPayment' and class 'PayPalPayment', declared in 'V:\devel\src\core\tx\PayPalPayment.vb', conflict in namespace 'Tx'.
 
 
 
 
<?xml version="1.0"?>
<project name="Vidology" default="Tx" basedir=".">
  <tstamp />
 
 
  <target name="Util">
    <mkdir dir="out" />   
    <vbc target="library" output="out\Util.dll">
      <sources>
        <includes name=".\src\core\util\*.vb"/>
      </sources>
      <references>
        <includes frompath="true" name="System.dll"/>
        <includes frompath="true" name="System.Data.dll"/>
      </references>
    </vbc>
  </target>
 
 
 
  <target name="Tx" depends="Util">
    <vbc target="library" output="out\Tx.dll">
      <sources>
        <includes name=".\src\core\tx\*.vb"/>
      </sources>
      <references>
        <includes name="out\Util.dll"/>
        <includes frompath="true" name="System.dll"/>
        <includes frompath="true" name="System.Data.dll"/>
      </references>
    </vbc>
  </target>
 

</project>

Reply via email to