<?xml version="1.0"?>
<project name="NDocGui" default="compile">
	<target name="compile" unless="${current.runtime.config.mono}">
		<csc target="winexe" output="${current.bin.dir}/${nant.project.name}.exe" debug="${current.build.debug}" optimize="${current.build.optimize}" unsafe="false" checked="false" define="${current.build.defines}">
			<arg value="/win32icon:ndoc.ico" unless="${current.runtime.config.mono}" />
			<sources>
				<includes name="**/*.cs" />
				<includes name="../CommonAssemblyInfo.cs" />
			</sources>
			<references>
				<includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.dll" />
				<includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Drawing.dll" />
				<includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Windows.Forms.dll" />
				<includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Xml.dll" />
				<includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Data.dll" />
				<includes name="${current.bin.dir}\NDoc.Core.dll" />
				<includes name="${current.bin.dir}\NDoc.VisualStudio.dll" />
			</references>
			<resources>
				<includes name="**/*.resx" />
			</resources>
			<resources prefix="NDoc.Gui">
				<includes name="About.rtf" />
			</resources>
		</csc>
		<copy file="NDocGui.exe.manifest" todir="${current.bin.dir}" />
	</target>
</project>
