<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <ProjectGuid>{75DC22B1-113F-4A66-96B9-2FF8208C10E8}</ProjectGuid> <AssemblyName>Build.UpdateVersion</AssemblyName> <RootNamespace>Build.UpdateVersion</RootNamespace> <OutputType>Exe</OutputType> <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>10.0.0</ProductVersion> <SchemaVersion>2.0</SchemaVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Documentation' "> <DefineConstants>TRACE</DefineConstants> <WarningLevel>4</WarningLevel> <OutputPath>..\..\Binaries\Tools\Release\</OutputPath> <Optimize>true</Optimize> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <DefineConstants>TRACE;DEBUG</DefineConstants> <DebugSymbols>True</DebugSymbols> <DebugType>full</DebugType> <WarningLevel>4</WarningLevel> <OutputPath>..\..\Binaries\Tools\Debug\</OutputPath> <Optimize>false</Optimize> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <DefineConstants>TRACE</DefineConstants> <WarningLevel>4</WarningLevel> <OutputPath>..\..\Binaries\Tools\Release\</OutputPath> <Optimize>true</Optimize> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Nsis' "> <DefineConstants>TRACE</DefineConstants> <WarningLevel>4</WarningLevel> <OutputPath>..\..\Binaries\Tools\Release\</OutputPath> <Optimize>true</Optimize> </PropertyGroup> <ItemGroup> <Compile Include="Program.cs" /> </ItemGroup> <ItemGroup> <Reference Include="System" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" /> <PropertyGroup> <PreBuildEvent> </PreBuildEvent> <PostBuildEvent> </PostBuildEvent> </PropertyGroup> <Target Name="BeforeBuild"> <Delete Files="..\..\Timestamp.txt" /> <Delete Files="..\..\Version.txt" /> </Target> <Target Name="AfterBuild"> <Exec Command="$(OutputPath)\Build.UpdateVersion.exe" Condition="$(OS) == 'Windows_NT'" /> <Exec Command="mono $(OutputPath)\Build.UpdateVersion.exe" Condition="$(OS) != 'Windows_NT'" /> </Target> </Project>