view IBBoard.WarFoundry.API.csproj @ 14:0770e5cbba7c

Closes #21 - File loading in order * Reworked LoadFiles to smaller methods for readability (also re #10) and structure * Now determine expected load return before loading then load all "expected GameSystem" before "expected Race" * Make "can load as race/game system/army" methods public in interface Re #22 - Get errored file loading * Created FileLoadFailure class and made LoadFiles return a list of them Also * Some code cleanup * Change to DictionaryUtils calls
author IBBoard <dev@ibboard.co.uk>
date Sun, 25 Jan 2009 14:03:20 +0000
parents df7211c5c448
children 3c228f093a71
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <ProjectType>Local</ProjectType>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{59EC117B-F955-44D5-8461-8F44F3A7481A}</ProjectGuid>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ApplicationIcon>
    </ApplicationIcon>
    <AssemblyKeyContainerName>
    </AssemblyKeyContainerName>
    <AssemblyName>IBBoard.WarFoundry.API</AssemblyName>
    <AssemblyOriginatorKeyFile>
    </AssemblyOriginatorKeyFile>
    <DefaultClientScript>JScript</DefaultClientScript>
    <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
    <DefaultTargetSchema>IE50</DefaultTargetSchema>
    <DelaySign>false</DelaySign>
    <OutputType>Library</OutputType>
    <RootNamespace>IBBoard.WarFoundry</RootNamespace>
    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
    <StartupObject>
    </StartupObject>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <OutputPath>bin\Debug\</OutputPath>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile>
    </ConfigurationOverrideFile>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <DocumentationFile>
    </DocumentationFile>
    <DebugSymbols>true</DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn>
    </NoWarn>
    <Optimize>false</Optimize>
    <RegisterForComInterop>false</RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel>4</WarningLevel>
    <DebugType>full</DebugType>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <OutputPath>bin\Release\</OutputPath>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile>
    </ConfigurationOverrideFile>
    <DefineConstants>TRACE</DefineConstants>
    <DocumentationFile>
    </DocumentationFile>
    <DebugSymbols>false</DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn>
    </NoWarn>
    <Optimize>true</Optimize>
    <RegisterForComInterop>false</RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel>4</WarningLevel>
    <DebugType>none</DebugType>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821" />
    <Reference Include="nunit.framework, Version=2.4.3.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
    <ProjectReference Include="..\IBBoard\IBBoard.mdp">
      <Name>IBBoard</Name>
    </ProjectReference>
    <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>libs\ICSharpCode.SharpZipLib.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="api\Commands\CreateAndAddUnitCommand.cs" />
    <Compile Include="api\Commands\RemoveUnitCommand.cs" />
    <Compile Include="api\Commands\ReplaceUnitEquipmentCommand.cs" />
    <Compile Include="api\Commands\SetNameCommand.cs" />
    <Compile Include="api\Commands\SetUnitEquipmentAmountCommand.cs" />
    <Compile Include="api\Commands\SetUnitSizeCommand.cs" />
    <Compile Include="api\Delegates.cs" />
    <Compile Include="api\Requirements\AbstractArmyRequirement.cs" />
    <Compile Include="api\Requirements\AbstractFailedRequirement.cs" />
    <Compile Include="api\Requirements\AbstractRequirement.cs" />
    <Compile Include="api\Requirements\AbstractUnitRequirement.cs" />
    <Compile Include="api\Requirements\Delegates.cs" />
    <Compile Include="api\Requirements\FailedRequirement.cs" />
    <Compile Include="api\Requirements\FailedUnitRequirement.cs" />
    <Compile Include="api\Requirements\RequirementAND.cs" />
    <Compile Include="api\Requirements\RequirementOR.cs" />
    <Compile Include="api\Requirements\UnitExcludesRequirement.cs" />
    <Compile Include="api\Requirements\UnitExclusion.cs" />
    <Compile Include="api\Requirements\UnitMaxNumberReached.cs" />
    <Compile Include="api\Requirements\UnitMinNumberReached.cs" />
    <Compile Include="api\Requirements\UnitRequirement.cs" />
    <Compile Include="api\Requirements\UnitRequirementItem.cs" />
    <Compile Include="api\Requirements\UnitRequirementMaxNumber.cs" />
    <Compile Include="api\Requirements\UnitRequirementMinNumber.cs" />
    <Compile Include="api\Requirements\UnitRequiresAtLeastRequirement.cs" />
    <Compile Include="api\WarFoundryCore.cs" />
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlElementName.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlFactory.cs" />
    <Compile Include="api\Factories\Xml\WarFoundryXmlSaver.cs" />
    <Compile Include="api\Factories\AbstractNativeWarFoundryFactory.cs" />
    <Compile Include="api\Factories\AbstractNonNativeFileExtensionWarFoundryFactory.cs" />
    <Compile Include="api\Factories\AbstractNonNativeWarFoundryFactory.cs" />
    <Compile Include="api\Factories\AbstractWarFoundryFactory.cs" />
    <Compile Include="api\Factories\INativeWarFoundryFactory.cs" />
    <Compile Include="api\Factories\INonNativeWarFoundryFactory.cs" />
    <Compile Include="api\Factories\IWarFoundryFactory.cs" />
    <Compile Include="api\Factories\WarFoundryFactoryFactory.cs" />
    <Compile Include="api\Objects\Ability.cs" />
    <Compile Include="api\Objects\ArmourType.cs" />
    <Compile Include="api\Objects\Army.cs" />
    <Compile Include="api\Objects\ArmyCategory.cs" />
    <Compile Include="api\Objects\Category.cs" />
    <Compile Include="api\Objects\EquipmentItem.cs" />
    <Compile Include="api\Objects\GameSystem.cs" />
    <Compile Include="api\Objects\IWarFoundryNativeSourceObject.cs" />
    <Compile Include="api\Objects\IWarFoundryObject.cs" />
    <Compile Include="api\Objects\IWarFoundryStagedLoadObject.cs" />
    <Compile Include="api\Objects\Race.cs" />
    <Compile Include="api\Objects\StagedLoadingGameSystem.cs" />
    <Compile Include="api\Objects\StagedLoadingRace.cs" />
    <Compile Include="api\Objects\Stat.cs" />
    <Compile Include="api\Objects\Stats.cs" />
    <Compile Include="api\Objects\StatSlot.cs" />
    <Compile Include="api\Objects\SystemStats.cs" />
    <Compile Include="api\Objects\SystemStatsSet.cs" />
    <Compile Include="api\Objects\Unit.cs" />
    <Compile Include="api\Objects\UnitEquipmentItem.cs" />
    <Compile Include="api\Objects\UnitEquipmentItemObj.cs" />
    <Compile Include="api\Objects\UnitType.cs" />
    <Compile Include="api\Objects\WarFoundryObject.cs" />
    <Compile Include="api\Savers\IWarFoundryFileSaver.cs" />
    <Compile Include="api\Savers\WarFoundrySaver.cs" />
    <Compile Include="api\WarFoundryLoader.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="libs\log4net.dll" />
    <Content Include="libs\log4net.xml" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="testdata\" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <PropertyGroup>
    <PreBuildEvent>
    </PreBuildEvent>
    <PostBuildEvent>
    </PostBuildEvent>
  </PropertyGroup>
  <ItemGroup>
    <None Include="libs\ICSharpCode.SharpZipLib.dll" />
  </ItemGroup>
</Project>