diff options
Diffstat (limited to '')
-rw-r--r-- | ServiceManager/ServiceManager.exe.build | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ServiceManager/ServiceManager.exe.build b/ServiceManager/ServiceManager.exe.build new file mode 100644 index 0000000..8cde4bf --- /dev/null +++ b/ServiceManager/ServiceManager.exe.build | |||
@@ -0,0 +1,40 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="ServiceManager" default="build"> | ||
3 | <target name="build"> | ||
4 | <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> | ||
5 | <mkdir dir="${project::get-base-directory()}/${build.dir}" /> | ||
6 | <copy todir="${project::get-base-directory()}/${build.dir}"> | ||
7 | <fileset basedir="${project::get-base-directory()}"> | ||
8 | </fileset> | ||
9 | </copy> | ||
10 | <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> | ||
11 | <resources prefix="ServiceManager" dynamicprefix="true" > | ||
12 | </resources> | ||
13 | <sources failonempty="true"> | ||
14 | <include name="ServiceManager.cs" /> | ||
15 | </sources> | ||
16 | <references basedir="${project::get-base-directory()}"> | ||
17 | <lib> | ||
18 | <include name="${project::get-base-directory()}" /> | ||
19 | <include name="${project::get-base-directory()}/${build.dir}" /> | ||
20 | </lib> | ||
21 | <include name="System.dll" /> | ||
22 | <include name="System.ServiceProcess.dll" /> | ||
23 | </references> | ||
24 | </csc> | ||
25 | <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> | ||
26 | <mkdir dir="${project::get-base-directory()}/../bin/"/> | ||
27 | <copy todir="${project::get-base-directory()}/../bin/"> | ||
28 | <fileset basedir="${project::get-base-directory()}/${build.dir}/" > | ||
29 | <include name="*.dll"/> | ||
30 | <include name="*.exe"/> | ||
31 | </fileset> | ||
32 | </copy> | ||
33 | </target> | ||
34 | <target name="clean"> | ||
35 | <delete dir="${bin.dir}" failonerror="false" /> | ||
36 | <delete dir="${obj.dir}" failonerror="false" /> | ||
37 | </target> | ||
38 | <target name="doc" description="Creates documentation."> | ||
39 | </target> | ||
40 | </project> | ||