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>

View File

@@ -1,2 +1,2 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProgressBar.ascx.cs" Inherits="umbraco.presentation.umbraco.controls.ProgressBar" %>
<img src="<%#umbraco.IO.SystemDirectories.Umbraco_client%>/images/progressBar.gif" runat="server" id="ImgBar" alt="<%#umbraco.ui.Text("publish", "inProgress", null)%>" /><br />
<img src='<%#umbraco.IO.SystemDirectories.Umbraco_client%>/images/progressBar.gif' id="ImgBar" alt='<%#umbraco.ui.Text("publish", "inProgress", null)%>' /><br />

View File

@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -12,14 +11,5 @@ namespace umbraco.presentation.umbraco.controls {
public partial class ProgressBar {
/// <summary>
/// ImgBar control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlImage ImgBar;
}
}