view IBBoard.WarFoundry.GUI.QtSharp.csproj @ 14:61bc9b44a695

Re #242: Create Qt# UI for WarFoundry * Add log4net logging output * Output as "WarFoundry.exe" * Wrap execution in try...catch to try to debug occasional crashes * Refactor common "connect action to menu" method Re #247: Implement menu options in Qt# app * Implement "open" action * Make "create" check for closing the old army
author IBBoard <dev@ibboard.co.uk>
date Sat, 13 Feb 2010 11:56:14 +0000
parents 1bd8febee385
children ab016fcda350
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{299D84D6-C84A-45CD-B709-AF536FCBA937}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>IBBoard.WarFoundry.GUI.QtSharp</RootNamespace>
    <AssemblyName>WarFoundry</AssemblyName>
    <StartupObject>IBBoard.WarFoundry.GUI.QtSharp.MainClass</StartupObject>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug</OutputPath>
    <DefineConstants>DEBUG</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <CustomCommands>
      <CustomCommands>
        <Command type="BeforeBuild" command="compile-ui.sh" workingdir="${ProjectDir}" />
      </CustomCommands>
    </CustomCommands>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>none</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Release</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="MainWindow.cs" />
    <Compile Include="Main.cs" />
    <Compile Include="qt-gui\MainWindowLayout.cs" />
    <Compile Include="qt-gui\CreateNewArmyLayout.cs" />
    <Compile Include="NewArmyDialog.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="compile-ui.sh" />
    <None Include="qt-gui\MainWindowLayout.ui" />
    <None Include="icons\ui\filenew.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\fileopen.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\filesave.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\filesaveas.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\edit-delete.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\edit-redo.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\edit-undo.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\exit.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\export.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\window-close.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="icons\ui\help-about.png">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="qt-gui\CreateNewArmyLayout.ui" />
    <None Include="lib\log4net.dll">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="WarFoundry.exe.log4net">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Folder Include="qt-gui\" />
    <Folder Include="icons\" />
    <Folder Include="icons\ui\" />
    <Folder Include="lib\" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="icons\App.png">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="qt-dotnet, Version=4.5.0.0, Culture=neutral, PublicKeyToken=194a23ba31c08164" />
    <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>lib\log4net.dll</HintPath>
    </Reference>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <ItemGroup>
    <ProjectReference Include="..\IBBoard.WarFoundry.API\IBBoard.WarFoundry.API.csproj">
      <Project>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</Project>
      <Name>IBBoard.WarFoundry.API</Name>
    </ProjectReference>
    <ProjectReference Include="..\IBBoard\IBBoard.csproj">
      <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project>
      <Name>IBBoard</Name>
    </ProjectReference>
  </ItemGroup>
</Project>