view IBBoard.WarFoundry.API.csproj @ 456:52baffdd2ab9

Re #379: Fix validation of requirements to check for unit * Default to not being applicable - make requirements say when they are * Fix UnitRequiresNUnitsForMUnitsRequirement to not be applicable when adding unrelated units (even if army itself fails the rule) * Fix type casting issues in equality check
author IBBoard <dev@ibboard.co.uk>
date Sat, 25 Feb 2012 16:35:31 +0000
parents afc6410e4efc
children 7a00aeba3d2f
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.30729</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>IBBoard.WarFoundry</RootNamespace>
    <AssemblyName>IBBoard.WarFoundry.API</AssemblyName>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <OldToolsVersion>3.5</OldToolsVersion>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
    <IsWebBootstrapper>false</IsWebBootstrapper>
    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
    <PublishUrl>publish\</PublishUrl>
    <Install>true</Install>
    <InstallFrom>Disk</InstallFrom>
    <UpdateEnabled>false</UpdateEnabled>
    <UpdateMode>Foreground</UpdateMode>
    <UpdateInterval>7</UpdateInterval>
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    <UpdatePeriodically>false</UpdatePeriodically>
    <UpdateRequired>false</UpdateRequired>
    <MapFileExtensions>true</MapFileExtensions>
    <ApplicationRevision>0</ApplicationRevision>
    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    <UseApplicationTrust>false</UseApplicationTrust>
    <BootstrapperEnabled>true</BootstrapperEnabled>
  </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>
  <Import Project="$(MSBuildBinPath)\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>
  -->
  <ItemGroup>
    <None Include="app.config" />
    <None Include="COPYING" />
    <Compile Include="API\Exporters\WarFoundryXMLWithXSLExporter.cs" />
    <Compile Include="AssemblyInfo.cs" />
    <None Include="schemas\army.xsd">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="schemas\race.xsd">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="schemas\system.xsd">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="schemas\warfoundry-cats.xsd">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="schemas\warfoundry-core.xsd">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="schemas\xhtml1-strict.dtd">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="schemas\xhtml-lat1.ent">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="schemas\xhtml-special.ent">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="schemas\xhtml-symbol.ent">
      <Gettext-ScanForTranslations>false</Gettext-ScanForTranslations>
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <Compile Include="API\Objects\ICostedWarFoundryObject.cs" />
    <Compile Include="API\Commands\CreateAndAddUnitCommand.cs" />
    <Compile Include="API\Commands\RemoveUnitCommand.cs" />
    <Compile Include="API\Commands\AbstractReplaceUnitEquipmentCommand.cs" />
    <Compile Include="API\Commands\SetNameCommand.cs" />
    <Compile Include="API\Commands\SetUnitEquipmentNumericAmountCommand.cs" />
    <Compile Include="API\Commands\SetUnitSizeCommand.cs" />
    <Compile Include="API\Delegates.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\Xml\WarFoundryXmlElementName.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlFactory.cs" />
    <Compile Include="API\FileLoadFailure.cs" />
    <Compile Include="API\Objects\Ability.cs" />
    <Compile Include="API\Objects\Army.cs" />
    <Compile Include="API\Objects\ArmyCategory.cs" />
    <Compile Include="API\Objects\Category.cs" />
    <Compile Include="API\Objects\DuplicateItemException.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\Stat.cs" />
    <Compile Include="API\Objects\Stats.cs" />
    <Compile Include="API\Objects\StatSlot.cs" />
    <Compile Include="API\Objects\SystemStats.cs" />
    <Compile Include="API\Objects\Unit.cs" />
    <Compile Include="API\Objects\UnitEquipmentItem.cs" />
    <Compile Include="API\Objects\UnitType.cs" />
    <Compile Include="API\Objects\WarFoundryObject.cs" />
    <Compile Include="API\Objects\WarFoundryStagedLoadingObject.cs" />
    <Compile Include="API\Savers\IWarFoundryFileSaver.cs" />
    <Compile Include="API\Savers\WarFoundrySaver.cs" />
    <Compile Include="API\Util\UnitEquipmentUtil.cs" />
    <Compile Include="API\WarFoundryCore.cs" />
    <Compile Include="API\WarFoundryLoader.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlGameSystemFactory.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlRaceFactory.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlArmyFactory.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlFactoryUtils.cs" />
    <Compile Include="API\Objects\InvalidContainershipException.cs" />
    <Compile Include="API\Objects\CompositeEquipmentItem.cs" />
    <Compile Include="API\Objects\AbstractUnitEquipmentItemSelection.cs" />
    <Compile Include="API\Objects\UnitEquipmentNumericSelection.cs" />
    <Compile Include="API\Objects\UnitEquipmentRatioSelection.cs" />
    <Compile Include="API\Commands\SetUnitEquipmentRatioAmountCommand.cs" />
    <Compile Include="API\Commands\AbstractSetUnitEquipmentAmountCommand.cs" />
    <Compile Include="API\Commands\ReplaceUnitEquipmentWithNumericAmountItemCommand.cs" />
    <Compile Include="API\Commands\ReplaceUnitEquipmentWithRatioAmountItemCommand.cs" />
    <Compile Include="API\Factories\Xml\Zip\StringZipEntrySource.cs" />
    <Compile Include="API\Factories\RequiredDataMissingException.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlArmyParser.cs" />
    <Compile Include="API\Exporters\IWarFoundryExporter.cs" />
    <Compile Include="API\Exporters\WarFoundryHtmlExporter.cs" />
    <Compile Include="API\AbstractWarFoundryLoader.cs" />
    <Compile Include="API\DefaultWarFoundryLoader.cs" />
    <Compile Include="API\Objects\UnitMemberType.cs" />
    <Compile Include="API\Factories\Xml\WarFoundryXmlLimitParser.cs" />
    <Compile Include="API\Factories\DummyWarFoundryFactory.cs" />
    <Compile Include="API\Objects\WarFoundryLoadedObject.cs" />
    <Compile Include="API\Savers\Xml\WarFoundryXmlArmySaver.cs" />
    <Compile Include="API\Savers\Xml\WarFoundryXmlGameSystemSaver.cs" />
    <Compile Include="API\Savers\Xml\WarFoundryXmlFileSaver.cs" />
    <Compile Include="API\Objects\Requirement\RequiresAtLeastNUnitsRequirement.cs" />
    <Compile Include="API\Objects\Requirement\UnitCountRequirementData.cs" />
    <Compile Include="API\Objects\Requirement\RequiresNoMoreThanNOfUnitTypeRequirement.cs" />
    <Compile Include="API\Objects\Requirement\UnitRequiresAtLeastNUnitsRequirement.cs" />
    <Compile Include="API\Objects\Requirement\Validation.cs" />
    <Compile Include="API\Objects\Requirement\UnitRequiresNoMoreThanNOfUnitTypeRequirement.cs" />
    <Compile Include="API\Objects\Requirement\IRequirement.cs" />
    <Compile Include="API\Objects\Requirement\RequirementHandler.cs" />
    <Compile Include="API\Factories\Requirement\UnitRequiresAtLeastNUnitsRequirementFactory.cs" />
    <Compile Include="API\Factories\Requirement\InvalidRequirementException.cs" />
    <Compile Include="API\Factories\Xml\CategoryLoader.cs" />
    <Compile Include="API\Factories\IRaceFactory.cs" />
    <Compile Include="API\Factories\Requirement\IRequirementFactory.cs" />
    <Compile Include="API\Commands\EditArmyCommand.cs" />
    <Compile Include="API\Factories\Requirement\UnitRequiresNoMoreThanNOfUnitTypeRequirementFactory.cs" />
    <Compile Include="API\WarFoundryHacks.cs" />
    <None Include="data\Empire.race">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="data\SampleSystem.system">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <Compile Include="API\Factories\Requirement\UnitRequiresNUnitsForMUnitsRequirementFactory.cs" />
    <Compile Include="API\Objects\Requirement\UnitRequiresNUnitsForMUnitsRequirement.cs" />
    <Compile Include="API\Objects\Requirement\RequiresNUnitsForMObjectsRequirement.cs" />
    <Compile Include="API\Objects\Requirement\AbstractUnitRequirement.cs" />
  </ItemGroup>
  <ItemGroup>
    <Reference Include="System.Xml" />
    <Reference Include="System" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\IBBoard\IBBoard.csproj">
      <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project>
      <Name>IBBoard</Name>
    </ProjectReference>
    <ProjectReference Include="..\SharpZipLib\ICSharpCode.SharpZLib.csproj">
      <Project>{0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD}</Project>
      <Name>ICSharpCode.SharpZLib</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Content Include="xsl\default_html.xsl">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="xsl\unitcard.xsl">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <ProjectExtensions>
    <MonoDevelop>
      <Properties>
        <Policies>
          <DotNetNamingPolicy DirectoryNamespaceAssociation="PrefixedHierarchical" ResourceNamePolicy="FileFormatDefault" />
        </Policies>
      </Properties>
    </MonoDevelop>
    <VisualStudio />
  </ProjectExtensions>
</Project>