~wesleycutting/nunitlite/work

« back to all changes in this revision

Viewing changes to src/tests/nunitlite.tests.build

  • Committer: Charlie Poole
  • Date: 2013-01-24 01:32:48 UTC
  • Revision ID: charlie@nunit.org-20130124013248-dh15al2hm5vcbpgl
Add CI Build target to build, using a console app to load the silverlight tests and run them

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    <property name="csc.output" value="nunitlite.tests.exe" unless="${runtime.platform=='silverlight'}"/>
20
20
    <property name="csc.output" value="nunitlite.tests.dll" if="${runtime.platform=='silverlight'}"/>
21
21
 
22
 
    <csc target="${csc.target}"
23
 
        output="${current.build.dir}/${csc.output}"
 
22
    <csc target="exe"
 
23
        output="${current.build.dir}/nunitlite.tests.exe"
24
24
        debug="${build.debug}"
25
25
        define="${build.defines};NUNITLITE">
26
26
      <sources basedir=".">
29
29
      <references basedir="${current.build.dir}">
30
30
        <include name="mscorlib.dll"/>
31
31
        <include name="System.dll"/>
32
 
        <include name="System.Core.dll" if="${runtime.platform == 'silverlight'}"/>
 
32
        <include name="System.Core.dll" if="${runtime.version >= '3.5'}"/>
33
33
        <include name="System.Windows.dll" if="${runtime.platform == 'silverlight'}"/>
34
34
        <include name="System.Windows.Browser.dll" if="${runtime.platform == 'silverlight'}"/>
35
35
        <include name="System.Xml.dll"/>