From 86936c20045403ee772bd88d7fd322be74947809 Mon Sep 17 00:00:00 2001 From: Glatzemann Date: Fri, 16 Nov 2012 18:37:06 +0000 Subject: [PATCH] - updated ContentBuilder version - updated installer to add the ANX.Framework tools directory to the System-PATH. This is useful for compiling ContentProjects using the PreBuildAction of a Visual Studio project (this is used in the upcoming project templates) --- Installer/anx.wxs | 29 +++++++++---------- Tools/ContentBuilder/Program.cs | 3 ++ .../ContentBuilder/Properties/AssemblyInfo.cs | 6 ++-- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/Installer/anx.wxs b/Installer/anx.wxs index 729a7aaa..14c55f84 100644 --- a/Installer/anx.wxs +++ b/Installer/anx.wxs @@ -30,6 +30,18 @@ + + @@ -86,6 +98,8 @@ + + @@ -112,21 +126,6 @@ - - - - - - - - - - - - - - - diff --git a/Tools/ContentBuilder/Program.cs b/Tools/ContentBuilder/Program.cs index 9b1badd0..9f6900cc 100644 --- a/Tools/ContentBuilder/Program.cs +++ b/Tools/ContentBuilder/Program.cs @@ -6,6 +6,7 @@ using System.Text; using ANX.Framework.Content.Pipeline.Tasks; using ANX.Framework.Content.Pipeline; using System.IO; +using System.Reflection; #endregion @@ -26,6 +27,8 @@ namespace ContentBuilder BuildContent buildContentTask = new BuildContent(); buildContentTask.BuildLogger = new ConsoleLogger(); + buildContentTask.BuildLogger.LogMessage(String.Format("ANX.Framework {0} v{1}", Assembly.GetExecutingAssembly().GetName().Name, Assembly.GetExecutingAssembly().GetName().Version)); + foreach (string arg in args) { if (!arg.StartsWith("/") && !arg.StartsWith("-")) diff --git a/Tools/ContentBuilder/Properties/AssemblyInfo.cs b/Tools/ContentBuilder/Properties/AssemblyInfo.cs index 87a1549d..76f7f978 100644 --- a/Tools/ContentBuilder/Properties/AssemblyInfo.cs +++ b/Tools/ContentBuilder/Properties/AssemblyInfo.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. -[assembly: AssemblyTitle("ContentBuilder")] +[assembly: AssemblyTitle("ANX.Framework ContentBuilder")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("ANX Developer Team")] @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern // übernehmen, indem Sie "*" eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.1.0.0")] -[assembly: AssemblyFileVersion("0.1.0.0")] +[assembly: AssemblyVersion("1.0.1.*")] +[assembly: AssemblyFileVersion("1.0.1.0")]