From 8a23270b5d3a2894b689782fa9021fa016265199 Mon Sep 17 00:00:00 2001 From: sbohlen Date: Tue, 7 Dec 2010 20:30:04 +0000 Subject: [PATCH] SPRNET-1396 --- Build.cmd | 2 +- Spring.build | 9 ++- common-project.include | 4 ++ src/Spring/CommonAssemblyInfo.cs | 40 +++++++---- .../Spring.Web.Mvc/Spring.Web.Mvc.2010.csproj | 4 +- .../Spring.Web.Mvc/Spring.Web.Mvc.build | 56 +++++++-------- .../Spring.Web.Mvc.Tests.build | 72 +++++-------------- 7 files changed, 84 insertions(+), 103 deletions(-) diff --git a/Build.cmd b/Build.cmd index fc348248..b4b3c369 100644 --- a/Build.cmd +++ b/Build.cmd @@ -4,7 +4,7 @@ @echo ... @echo Running full Build Script, capturing output to buildlog.txt file... @echo Start Time: %time% -build-support\tools\nant\bin\nant %1 %2 %3 %4 %5 %6 %7 %8 %9 >> buildlog.txt +build-support\tools\nant\bin\nant %1 %2 %3 %4 %5 %6 %7 %8 %9 > buildlog.txt @echo . @echo .. @echo ... diff --git a/Spring.build b/Spring.build index 9cb87f77..d7b25ba0 100644 --- a/Spring.build +++ b/Spring.build @@ -463,6 +463,7 @@ Commandline Examples: + @@ -502,6 +503,7 @@ Commandline Examples: if="${build-data and nant.settings.currentframework == 'net-4.0'}"/> + @@ -537,6 +539,7 @@ Commandline Examples: + @@ -574,7 +577,7 @@ Commandline Examples: - + @@ -585,7 +588,9 @@ Commandline Examples: - + + + + + + + diff --git a/src/Spring/CommonAssemblyInfo.cs b/src/Spring/CommonAssemblyInfo.cs index bba96bf8..2a99ef46 100644 --- a/src/Spring/CommonAssemblyInfo.cs +++ b/src/Spring/CommonAssemblyInfo.cs @@ -30,25 +30,37 @@ using System.Reflection; // // // This is to support side-by-side deployment of .NET 1.1 and .NET 2.0 versions of the assembly. -#if !NET_2_0 -[assembly: AssemblyVersion("1.3.1.11001")] -#endif -#if NET_2_0 -[assembly: AssemblyVersion("1.3.1.20001")] -#endif - -#if NET_3_0 -[assembly: AssemblyVersion("1.3.1.30001")] -#endif - -#if NET_3_5 -[assembly: AssemblyVersion("1.3.1.35001")] -#endif +//note that this #if #elif #endif contstruct requires NET_#_# values be checked in DESCENDING order to work properly +// (e.g., add any new ones at the TOP of this construct!) #if NET_4_0 [assembly: AssemblyVersion("1.3.1.40001")] +#elif NET_3_5 +[assembly: AssemblyVersion("1.3.1.35001")] +#elif NET_3_0 +[assembly: AssemblyVersion("1.3.1.30001")] +#elif NET_2_0 +[assembly: AssemblyVersion("1.3.1.20001")] +#elif NET_1_1 +[assembly: AssemblyVersion("1.3.1.11001")] +#elif NET_1_0 +[assembly: AssemblyVersion("1.3.1.10001")] #endif + + + + + + + + + + + + + + // // In order to sign your assembly you must specify a key to use. Refer to the // Microsoft .NET Framework documentation for more information on assembly signing. diff --git a/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.2010.csproj b/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.2010.csproj index 9765146a..18a108b9 100644 --- a/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.2010.csproj +++ b/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.2010.csproj @@ -31,7 +31,9 @@ 4 - + + ..\..\..\lib\Net\3.5\Common.Logging.dll + diff --git a/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.build b/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.build index 0b64ce05..b37e2e48 100644 --- a/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.build +++ b/src/Spring/Spring.Web.Mvc/Spring.Web.Mvc.build @@ -1,43 +1,35 @@ - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/test/Spring/Spring.Web.Mvc.Tests/Spring.Web.Mvc.Tests.build b/test/Spring/Spring.Web.Mvc.Tests/Spring.Web.Mvc.Tests.build index 8b864b0a..c1a8481d 100644 --- a/test/Spring/Spring.Web.Mvc.Tests/Spring.Web.Mvc.Tests.build +++ b/test/Spring/Spring.Web.Mvc.Tests/Spring.Web.Mvc.Tests.build @@ -1,5 +1,5 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - + + + + + + + + + + + +