📄 sharpreport.build
字号:
<project name="SharpDevelop - SharpReport add-in" default="build" basedir=".">
<property name = "bindir" value="../../../../bin"/>
<property name = "sharpreportaddindir" value="../../../../AddIns/AddIns/Misc/SharpReport"/>
<property name = "sharpqueryassembly" value="../../../../AddIns/AddIns/Misc/SharpQuery/SharpQuery.dll"/>
<property name="debug" value = "False"/>
<property name="optimize" value = "True"/>
<target name="build">
<mkdir dir = "${sharpreportaddindir}"/>
<echo>Compiling SharpReportCore</echo>
<csc
target = "library"
output = "${sharpreportaddindir}/SharpReportCore.dll"
optimize="${optimize}"
debug = "${debug}">
<sources basedir = "SharpReportCore">
<includes name = "**/*.cs"/>
</sources>
</csc>
<echo>Compiling SharpReport</echo>
<csc
target = "library"
output = "${sharpreportaddindir}/SharpReport.dll"
optimize="${optimize}"
debug = "${debug}">
<sources basedir = "SharpReport">
<includes name = "**/*.cs"/>
</sources>
<references>
<includes name = "${bindir}/ICSharpCode.Core.dll"/>
<includes name = "${bindir}/SharpDevelop.Base.dll"/>
<includes name = "${sharpqueryassembly}"/>
<includes name = "${sharpreportaddindir}/SharpReportCore.dll"/>
</references>
</csc>
<echo>Compiling ReportGenerator</echo>
<csc
target = "library"
output = "${sharpreportaddindir}/ReportGenerator.dll"
optimize="${optimize}"
debug = "${debug}">
<sources basedir = "ReportGenerator">
<includes name = "**/*.cs"/>
</sources>
<references>
<includes name = "${bindir}/ICSharpCode.Core.dll"/>
<includes name = "${bindir}/ICSharpCode.XmlForms.dll"/>
<includes name = "${bindir}/SharpDevelop.Base.dll"/>
<includes name = "${sharpqueryassembly}"/>
<includes name = "${sharpreportaddindir}/SharpReport.dll"/>
<includes name = "${sharpreportaddindir}/SharpReportCore.dll"/>
</references>
</csc>
<copy file="ReportGenerator/ReportGenerator.addin" tofile="${sharpreportaddindir}/ReportGenerator.addin" />
<echo>Preparing BitmapResources</echo>
<delete file="BitmapResources.resources" failonerror="false"/>
<exec program="${bindir}/tools/ResourceAssembler.exe" commandline="BitmapResources.res" workingdir="."/>
<echo>Compiling SharpReportAddin</echo>
<csc
target = "library"
output = "${sharpreportaddindir}/SharpReportAddin.dll"
optimize="${optimize}"
debug = "${debug}">
<sources basedir = "SharpReportAddin">
<includes name = "**/*.cs"/>
</sources>
<references>
<includes name = "${bindir}/ICSharpCode.Core.dll"/>
<includes name = "${bindir}/CommandBar.dll"/>
<includes name = "${bindir}/SharpDevelop.Base.dll"/>
<includes name = "${bindir}/ICSharpCode.XmlForms.dll"/>
<includes name = "${sharpreportaddindir}/ReportGenerator.dll"/>
<includes name = "${sharpreportaddindir}/SharpReport.dll"/>
<includes name = "${sharpreportaddindir}/SharpReportCore.dll"/>
<includes name = "${sharpqueryassembly}"/>
</references>
<resources>
<includes name = "BitmapResources.resources"/>
</resources>
</csc>
<copy file="SharpReportAddin/SharpReport.addin" tofile="${sharpreportaddindir}/SharpReport.addin" />
</target>
<target name="clean">
<delete dir="${sharpreportaddindir}" failonerror="false"/>
<delete file="BitmapResources.resources" failonerror="false"/>
</target>
</project>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -