Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Tools / Castle.DynamicProxy2 / Castle.DynamicProxy.Tests / Castle.DynamicProxy.Tests.build
blob5dc031a2c1ee1a74fc9bd2a4db52de195a28a1bc
1 <?xml version="1.0" ?>
3 <project
4 name="Castle.DynamicProxy2.Tests"
5 default="test"
6 xmlns="http://nant.sf.net/release/0.85/nant.xsd"
9 <property name="root.dir" value="../../.." />
10 <include buildfile="${root.dir}/common-project.xml" />
12 <if test="${not property::exists('dp2.test')}">
13 <property name="dp2.test" value="${common.run-tests}" />
14 </if>
15 <property name="common.testrunner.enabled" value="${dp2.test}" />
17 <target name="init" depends="common.init">
18 <property name="assembly.is-cls-compliant" value="false" />
20 <assemblyfileset id="project.references" basedir="${build.dir}">
21 <include name="nunit.framework.dll" />
22 <include name="Castle.DynamicProxy2.dll" />
23 <include name="Castle.Core.dll" />
24 <include name="System.Configuration.dll" />
25 <include name="System.Data.dll" />
26 </assemblyfileset>
28 <resourcefileset id="project.resources" prefix="Resources" dynamicprefix="false">
29 <include name="${src.dir}/**/*.txt" />
30 <exclude name="obj/**" />
31 </resourcefileset>
32 </target>
34 <target name="configure-tests">
36 <property name="app.config" value="${build.dir}/${project::get-name()}.dll.config" />
38 <!-- make sure the config file is writable -->
39 <attrib file="${app.config}" readonly="false" />
41 <xmlpoke
42 file="${app.config}"
43 xpath="/configuration/appSettings/add[@key='sdkDir']/@value"
44 value="${framework::get-sdk-directory(framework::get-target-framework())}"
46 </target>
48 <target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" />
50 <target name="test" depends="init generate-assemblyinfo common.compile-tests configure-tests common.run-tests" description="Runs the tests" />
52 </project>