Author: cwittich Date: Fri May 29 02:17:14 2009 New Revision: 41189
URL: http://svn.reactos.org/svn/reactos?rev=41189&view=rev Log: -add a tool to automatically increase the buildno at each build and update the WiX script to get upgrade installations to work
Added: trunk/tools/reactosdbg/buildhelper/ (with props) trunk/tools/reactosdbg/buildhelper/Program.cs (with props) trunk/tools/reactosdbg/buildhelper/Properties/ (with props) trunk/tools/reactosdbg/buildhelper/Properties/AssemblyInfo.cs (with props) trunk/tools/reactosdbg/buildhelper/buildhelper.csproj (with props) Modified: trunk/tools/reactosdbg/Installer/Installer.wixproj trunk/tools/reactosdbg/Installer/Product.wxs trunk/tools/reactosdbg/ReactosDBG.sln trunk/tools/reactosdbg/RosDBG/AboutDlg.Designer.cs trunk/tools/reactosdbg/RosDBG/AboutDlg.cs trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs trunk/tools/reactosdbg/RosDBG/RosDBG.csproj
Modified: trunk/tools/reactosdbg/Installer/Installer.wixproj URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/Installer/Installe... ============================================================================== --- trunk/tools/reactosdbg/Installer/Installer.wixproj [iso-8859-1] (original) +++ trunk/tools/reactosdbg/Installer/Installer.wixproj [iso-8859-1] Fri May 29 02:17:14 2009 @@ -66,4 +66,8 @@ <Target Name="AfterBuild"> </Target> --> + <PropertyGroup> + <PreBuildEvent>"$(SolutionDir)buildhelper" "$(SolutionDir)temp.exe" "$(ProjectDir)version.wxs" +del "$(SolutionDir)temp.exe"</PreBuildEvent> + </PropertyGroup> </Project>
Modified: trunk/tools/reactosdbg/Installer/Product.wxs URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/Installer/Product.... ============================================================================== --- trunk/tools/reactosdbg/Installer/Product.wxs [iso-8859-1] (original) +++ trunk/tools/reactosdbg/Installer/Product.wxs [iso-8859-1] Fri May 29 02:17:14 2009 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> - <Product Id="c10bd463-0752-4b27-82ab-fc852bb11ee3" Name="ReactOS Remote Debugger" Language="1033" Version="1.0.0.0" Manufacturer="ReactOS Team" UpgradeCode="ea120514-a7ac-44c9-b68f-819bb15d22bd"> + <?include version.wxs ?> + <Product Id="*" Name="ReactOS Remote Debugger" Language="1033" Version="$(var.version)" Manufacturer="ReactOS Team" UpgradeCode="ea120514-a7ac-44c9-b68f-819bb15d22bd"> <Package InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir"> - + <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="ReactOS Remote Debugger"> <Component Id ="ProgramFiles" Guid ="326981F4-EF71-49fc-BE0C-9433F674F059"> @@ -44,6 +45,19 @@ <Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" /> <UIRef Id="WixUI_Common" /> <UIRef Id="WixUI_ErrorProgressText" /> + + <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" /> + <Property Id="ALLUSERS" Value="1" /> + <Upgrade Id="ea120514-a7ac-44c9-b68f-819bb15d22bd"> + <UpgradeVersion Property='PREVIOUSVERSIONSINSTALLED' OnlyDetect="no" IncludeMinimum='yes' Minimum='0.0.0' IncludeMaximum='no' Maximum='$(var.version)' /> + <UpgradeVersion Minimum="$(var.version)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWERPRODUCTFOUND" /> + </Upgrade> + <InstallExecuteSequence> + <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWERPRODUCTFOUND AND NOT Installed</Custom> + <RemoveExistingProducts Before='InstallInitialize' /> + </InstallExecuteSequence> + <CustomAction Id="PreventDowngrading" Error="Newer version already installed." /> +
<UI Id="WixUI_InstallDir"> <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
Modified: trunk/tools/reactosdbg/ReactosDBG.sln URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/ReactosDBG.sln?rev... ============================================================================== --- trunk/tools/reactosdbg/ReactosDBG.sln [iso-8859-1] (original) +++ trunk/tools/reactosdbg/ReactosDBG.sln [iso-8859-1] Fri May 29 02:17:14 2009 @@ -2,6 +2,9 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RosDBG", "RosDBG\RosDBG.csproj", "{FB776BFE-D2C2-465E-B713-6AD82CAE1A39}" + ProjectSection(ProjectDependencies) = postProject + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C} = {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C} + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DebugProtocol", "DebugProtocol\DebugProtocol.csproj", "{76A02C1D-4B11-4D43-966E-E5C053870D65}" EndProject @@ -10,8 +13,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DbgHelp", "DbgHelp\DbgHelp.csproj", "{3442437A-CB9C-4C73-B35B-3F6E4F60F3B2}" EndProject Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Installer", "Installer\Installer.wixproj", "{B2C4FEDE-C383-49A2-B871-D17DA238BB47}" + ProjectSection(ProjectDependencies) = postProject + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C} = {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C} + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormsUI", "WinFormsUI\WinFormsUI.csproj", "{C75532C4-765B-418E-B09B-46D36B2ABDB1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "buildhelper", "buildhelper\buildhelper.csproj", "{D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -88,6 +96,16 @@ {C75532C4-765B-418E-B09B-46D36B2ABDB1}.Release|Mixed Platforms.Build.0 = Release|Any CPU {C75532C4-765B-418E-B09B-46D36B2ABDB1}.Release|x86.ActiveCfg = Release|x86 {C75532C4-765B-418E-B09B-46D36B2ABDB1}.Release|x86.Build.0 = Release|x86 + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Debug|x86.ActiveCfg = Debug|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Release|Any CPU.Build.0 = Release|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE
Modified: trunk/tools/reactosdbg/RosDBG/AboutDlg.Designer.cs URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/AboutDlg.De... ============================================================================== --- trunk/tools/reactosdbg/RosDBG/AboutDlg.Designer.cs [iso-8859-1] (original) +++ trunk/tools/reactosdbg/RosDBG/AboutDlg.Designer.cs [iso-8859-1] Fri May 29 02:17:14 2009 @@ -31,6 +31,7 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutDlg)); this.btnOK = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); + this.versionLabel = new System.Windows.Forms.Label(); this.SuspendLayout(); // // btnOK @@ -47,11 +48,20 @@ // label1 // this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(37, 30); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(141, 13); + this.label1.Size = new System.Drawing.Size(164, 13); this.label1.TabIndex = 1; this.label1.Text = "ReactOS Remote Debugger"; + // + // versionLabel + // + this.versionLabel.AutoSize = true; + this.versionLabel.Location = new System.Drawing.Point(37, 56); + this.versionLabel.Name = "versionLabel"; + this.versionLabel.Size = new System.Drawing.Size(0, 13); + this.versionLabel.TabIndex = 2; // // AboutDlg // @@ -59,6 +69,7 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 264); + this.Controls.Add(this.versionLabel); this.Controls.Add(this.label1); this.Controls.Add(this.btnOK); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; @@ -68,6 +79,7 @@ this.Name = "AboutDlg"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "About ReactOS Remote Debugger"; + this.Load += new System.EventHandler(this.AboutDlg_Load); this.ResumeLayout(false); this.PerformLayout();
@@ -77,5 +89,6 @@
private System.Windows.Forms.Button btnOK; private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label versionLabel; } }
Modified: trunk/tools/reactosdbg/RosDBG/AboutDlg.cs URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/AboutDlg.cs... ============================================================================== --- trunk/tools/reactosdbg/RosDBG/AboutDlg.cs [iso-8859-1] (original) +++ trunk/tools/reactosdbg/RosDBG/AboutDlg.cs [iso-8859-1] Fri May 29 02:17:14 2009 @@ -6,6 +6,7 @@ using System.Linq; using System.Text; using System.Windows.Forms; +using System.Reflection;
namespace RosDBG { @@ -20,5 +21,10 @@ { Close(); } + + private void AboutDlg_Load(object sender, EventArgs e) + { + versionLabel.Text = Assembly.GetExecutingAssembly().GetName().Version.ToString(); + } } }
Modified: trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Properties/... ============================================================================== --- trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] (original) +++ trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] Fri May 29 02:17:14 2009 @@ -1,16 +1,16 @@ -using System.Reflection; +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("WindowsFormsApplication1")] +[assembly: AssemblyTitle("ReactOS Remote Debugger")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("WindowsFormsApplication1")] -[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyProduct("ReactOS Remote Debugger")] +[assembly: AssemblyCopyright("Copyright © 2009")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
@@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.5.1204")] +[assembly: AssemblyFileVersion("1.0.5.1204")]
Modified: trunk/tools/reactosdbg/RosDBG/RosDBG.csproj URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/RosDBG.cspr... ============================================================================== --- trunk/tools/reactosdbg/RosDBG/RosDBG.csproj [iso-8859-1] (original) +++ trunk/tools/reactosdbg/RosDBG/RosDBG.csproj [iso-8859-1] Fri May 29 02:17:14 2009 @@ -12,6 +12,8 @@ <AssemblyName>RosDBG</AssemblyName> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> + <IsWebBootstrapper>false</IsWebBootstrapper> + <ApplicationIcon>app-rosdbg.ico</ApplicationIcon> <PublishUrl>publish</PublishUrl> <Install>true</Install> <InstallFrom>Disk</InstallFrom> @@ -24,10 +26,8 @@ <MapFileExtensions>true</MapFileExtensions> <ApplicationRevision>0</ApplicationRevision> <ApplicationVersion>1.0.0.%2a</ApplicationVersion> - <IsWebBootstrapper>false</IsWebBootstrapper> <UseApplicationTrust>false</UseApplicationTrust> <BootstrapperEnabled>true</BootstrapperEnabled> - <ApplicationIcon>app-rosdbg.ico</ApplicationIcon> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> @@ -254,6 +254,11 @@ </Compile> </ItemGroup> <ItemGroup> + <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> + <Visible>False</Visible> + <ProductName>.NET Framework Client Profile</ProductName> + <Install>false</Install> + </BootstrapperPackage> <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> <Visible>False</Visible> <ProductName>.NET Framework 2.0 %28x86%29</ProductName> @@ -268,6 +273,11 @@ <Visible>False</Visible> <ProductName>.NET Framework 3.5</ProductName> <Install>true</Install> + </BootstrapperPackage> + <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> + <Visible>False</Visible> + <ProductName>.NET Framework 3.5 SP1</ProductName> + <Install>false</Install> </BootstrapperPackage> <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1"> <Visible>False</Visible> @@ -311,6 +321,8 @@ </Target> --> <PropertyGroup> - <PostBuildEvent>copy "$(SolutionDir)dbghelptest\dbghelp.dll" "$(TargetDir)"</PostBuildEvent> + <PostBuildEvent>copy "$(SolutionDir)dbghelptest\dbghelp.dll" "$(TargetDir)" +copy "$(TargetPath)" "$(SolutionDir)temp.exe"</PostBuildEvent> + <PreBuildEvent>"$(SolutionDir)buildhelper" "$(ProjectDir)Properties\AssemblyInfo.cs"</PreBuildEvent> </PropertyGroup> </Project>
Propchange: trunk/tools/reactosdbg/buildhelper/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Fri May 29 02:17:14 2009 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+)
Propchange: trunk/tools/reactosdbg/buildhelper/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details.
Propchange: trunk/tools/reactosdbg/buildhelper/ ------------------------------------------------------------------------------ bugtraq:url = http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Added: trunk/tools/reactosdbg/buildhelper/Program.cs URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/buildhelper/Progra... ============================================================================== --- trunk/tools/reactosdbg/buildhelper/Program.cs (added) +++ trunk/tools/reactosdbg/buildhelper/Program.cs [iso-8859-1] Fri May 29 02:17:14 2009 @@ -1,0 +1,63 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Text.RegularExpressions; +using System.Diagnostics; + +namespace buildhelper +{ + class Program + { + static void Main(string[] args) + { + if (args.Length == 1) // updating Version Info + { + string infoPath = args[0]; + if (!infoPath.EndsWith("AssemblyInfo.cs")) + { + Console.WriteLine("Please specify the 'AssemblyInfo.cs' you want to update."); + return; + } + + if (!File.Exists(infoPath)) + { + Console.WriteLine(infoPath + " does not exist."); + return; + } + + try + { + StreamReader reader = File.OpenText(infoPath); + string contents = reader.ReadToEnd(); + reader.Close(); + Regex version = new Regex(@"(\d+.\d+.)(\d+)(.\d+)"); + Match versionMatch = version.Match(contents); + string oldVersion = versionMatch.Value; + string newVersion = versionMatch.Groups[1].Value + (Convert.ToUInt32(versionMatch.Groups[2].Value) + 1).ToString() + "." + DateTime.Now.ToString("mss"); + contents = contents.Replace(oldVersion, newVersion); + StreamWriter writer = File.CreateText(infoPath); + writer.Write(contents); + writer.Close(); + Console.WriteLine(string.Format("New version is [{0}]", newVersion)); + } + catch (Exception ex) + { + Console.WriteLine(ex.Message); + } + return; + } + + if (args.Length == 2) // updating WiX Version Info + { + FileVersionInfo version = FileVersionInfo.GetVersionInfo(args[0]); + StreamWriter sw = new StreamWriter(args[1]); + sw.WriteLine("<Include>"); + sw.WriteLine(" <?define version=\"" + version.ProductVersion + "\" ?>"); + sw.WriteLine("</Include>"); + sw.Close(); + } + } + } +}
Propchange: trunk/tools/reactosdbg/buildhelper/Program.cs ------------------------------------------------------------------------------ svn:eol-style = native
Propchange: trunk/tools/reactosdbg/buildhelper/Properties/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Fri May 29 02:17:14 2009 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+)
Propchange: trunk/tools/reactosdbg/buildhelper/Properties/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details.
Propchange: trunk/tools/reactosdbg/buildhelper/Properties/ ------------------------------------------------------------------------------ bugtraq:url = http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Added: trunk/tools/reactosdbg/buildhelper/Properties/AssemblyInfo.cs URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/buildhelper/Proper... ============================================================================== --- trunk/tools/reactosdbg/buildhelper/Properties/AssemblyInfo.cs (added) +++ trunk/tools/reactosdbg/buildhelper/Properties/AssemblyInfo.cs [iso-8859-1] Fri May 29 02:17:14 2009 @@ -1,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +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("buildhelper")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("buildhelper")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2009")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar +// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von +// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("3430edbf-ff75-49b5-a532-835abd929e47")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder die standardmäÃigen Build- und Revisionsnummern +// übernehmen, indem Sie "*" eingeben: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")]
Propchange: trunk/tools/reactosdbg/buildhelper/Properties/AssemblyInfo.cs ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/tools/reactosdbg/buildhelper/buildhelper.csproj URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/buildhelper/buildh... ============================================================================== --- trunk/tools/reactosdbg/buildhelper/buildhelper.csproj (added) +++ trunk/tools/reactosdbg/buildhelper/buildhelper.csproj [iso-8859-1] Fri May 29 02:17:14 2009 @@ -1,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{D5599C1D-3A8B-4EBA-B54A-1B17E68CDC6C}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>buildhelper</RootNamespace> + <AssemblyName>buildhelper</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <StartupObject>buildhelper.Program</StartupObject> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Core"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> + <Reference Include="System.Xml.Linq"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> + <Reference Include="System.Data.DataSetExtensions"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <PropertyGroup> + <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)buildhelper.exe"</PostBuildEvent> + </PropertyGroup> +</Project>
Propchange: trunk/tools/reactosdbg/buildhelper/buildhelper.csproj ------------------------------------------------------------------------------ svn:eol-style = native