2018-07-10 20:01:46 +00:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
|
|
<ProjectGuid>{759D557D-FA9B-4EE2-A6B3-3D30FC35F3CE}</ProjectGuid>
|
|
|
|
|
<OutputType>Exe</OutputType>
|
|
|
|
|
<RootNamespace>pollock</RootNamespace>
|
|
|
|
|
<AssemblyName>pollock</AssemblyName>
|
|
|
|
|
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
|
|
|
|
<FileAlignment>512</FileAlignment>
|
|
|
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
|
|
<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' ">
|
|
|
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
|
|
<DebugType>pdbonly</DebugType>
|
|
|
|
|
<Optimize>true</Optimize>
|
|
|
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
|
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
|
</PropertyGroup>
|
2018-07-18 16:22:56 +00:00
|
|
|
|
<PropertyGroup>
|
2018-07-20 13:59:38 +00:00
|
|
|
|
<ApplicationIcon>pollock.ico</ApplicationIcon>
|
2018-07-18 16:22:56 +00:00
|
|
|
|
</PropertyGroup>
|
2018-07-10 20:01:46 +00:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Reference Include="System" />
|
|
|
|
|
<Reference Include="System.Core" />
|
2018-07-16 14:35:40 +00:00
|
|
|
|
<Reference Include="System.Windows.Forms" />
|
2018-07-10 20:01:46 +00:00
|
|
|
|
<Reference Include="System.Xml.Linq" />
|
|
|
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
|
|
|
<Reference Include="Microsoft.CSharp" />
|
|
|
|
|
<Reference Include="System.Data" />
|
|
|
|
|
<Reference Include="System.Net.Http" />
|
|
|
|
|
<Reference Include="System.Xml" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Include="Pollock.cs" />
|
|
|
|
|
</ItemGroup>
|
2018-07-18 16:22:56 +00:00
|
|
|
|
<ItemGroup>
|
2018-07-20 13:59:38 +00:00
|
|
|
|
<Content Include="pollock.ico" />
|
2018-07-18 16:22:56 +00:00
|
|
|
|
</ItemGroup>
|
2018-07-10 20:01:46 +00:00
|
|
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
2018-07-20 13:59:38 +00:00
|
|
|
|
<Target Name="PostBuildMacros">
|
|
|
|
|
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
|
|
|
|
|
<Output TaskParameter="Assemblies" ItemName="Targets" />
|
|
|
|
|
</GetAssemblyIdentity>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<VersionNumber Include="@(Targets->'%(Version)')" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
</Target>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<PostBuildEventDependsOn>
|
|
|
|
|
$(PostBuildEventDependsOn);
|
|
|
|
|
PostBuildMacros;
|
|
|
|
|
</PostBuildEventDependsOn>
|
|
|
|
|
<PostBuildEvent>for /f "tokens=1,2 delims=." %25%25i in ("@(VersionNumber)") do set "major=%25%25i" &set "minor=%25%25j"
|
|
|
|
|
set version=%25major%25.%25minor%25
|
|
|
|
|
if $(ConfigurationName) == Release (
|
|
|
|
|
copy $(TargetDir)$(TargetFileName) $(SolutionDir)..\..\..\pollock-%25version%25.exe /y
|
|
|
|
|
$(SolutionDir)..\..\..\_sign.cmd $(SolutionDir)..\..\..\pollock-%25version%25.exe
|
|
|
|
|
)</PostBuildEvent>
|
|
|
|
|
</PropertyGroup>
|
2018-07-10 20:01:46 +00:00
|
|
|
|
</Project>
|