Nant build config for .net 4.0 framework

[TFS Changeset #67699]
This commit is contained in:
PerPloug
2010-06-10 07:07:59 +00:00
parent c1027e3fb7
commit b5f2eaf644
3 changed files with 20 additions and 13 deletions

View File

@@ -3,8 +3,11 @@
<description>Build the umbraco 3.1.x Application</description>
<!-- global properties, generally won't change -->
<!--
<property name="nant.settings.currentframework" value="net-2.0" />
-->
<property name="nant.settings.currentframework" value="net-4.0" />,
<!-- filenames and directories, generally won't change -->
@@ -44,11 +47,16 @@
</fileset>
</attrib>
<exec program="${win.dir}\microsoft.net\framework\v4.0.30319\msbuild.exe">
<arg value="${root.dir}\umbraco.sln" />
<arg value="/v:n" />
<arg value="/p:WarningLevel=0" />
<arg value="/p:ToolsVersion=4.0" />
</exec>
<exec program="${win.dir}\microsoft.net\framework\v4.0.30319\aspnet_compiler.exe" commandline="-f -u -p umbraco/presentation -v / &quot;${build.dir}&quot;"/>
</target>
@@ -323,6 +331,15 @@
<target name="init" description="init tasks for the build">
<!-- Clean the plugins dir any leftovers, only tinyMCE belongs in here -->
<delete>
<fileset>
<include name="${build.dir}\umbraco\plugins\*" />
<exclude name="${build.dir}\umbraco\plugins\tinymce3" />
</fileset>
</delete>
<delete dir="${build.dir}" />
<mkdir dir="${build.dir}" />
</target>