Mercurial > repos > IBDev-IBBoard.WarFoundry.API
view IBBoard.WarFoundry.API.csproj @ 151:1d13820b3d96
Fixes #176: Bug when saving recently edited army
* Add loaded file cleanup to AbstractWarFoundryFactory
* Add override of method with Zip reference closing to WarFoundryXmlFactory
WarFoundry now no longer ends up with trailing handles to files, although why they only caused problems in some situations is unknown
Also:
* Some line ending fixes (curse cross-platform development and different line terminators!)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 26 Sep 2009 18:48:36 +0000 |
parents | 938409fc24cc |
children | 81abc04b3dbe |
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>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>IBBoard.WarFoundry.API</RootNamespace> <AssemblyName>IBBoard.WarFoundry.API</AssemblyName> </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="dtds\system.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Include="dtds\race.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <SubType> </SubType> </None> <None Include="dtds\warfoundry-core.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Include="dtds\warfoundry-cats.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Include="dtds\army.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Include="COPYING" /> <Compile Include="api\Objects\ICostedWarFoundryObject.cs" /> </ItemGroup> <ItemGroup> <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\Factories\Xml\WarFoundryXmlSaver.cs" /> <Compile Include="api\FileLoadFailure.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\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\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\Savers\IWarFoundryFileSaver.cs" /> <Compile Include="api\Savers\WarFoundrySaver.cs" /> <Compile Include="api\WarFoundryCore.cs" /> <Compile Include="api\WarFoundryLoader.cs" /> <Compile Include="AssemblyInfo.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\Factories\Xml\AbstractStagedLoadedSubFactory.cs" /> <Compile Include="api\Objects\InvalidContainershipException.cs" /> <Compile Include="api\Objects\CompositeEquipmentItem.cs" /> <Compile Include="api\Objects\AbstractUnitEquipmentItemSelection.cs" /> <Compile Include="api\Objects\UnitEquipmentNumericForRatioSelection.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" /> </ItemGroup> <ItemGroup> <Content Include="libs\ICSharpCode.SharpZipLib.dll" /> <Content Include="libs\log4net.dll" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\IBBoard\IBBoard.csproj"> <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project> <Name>IBBoard</Name> </ProjectReference> </ItemGroup> <ItemGroup> <Reference Include="System.Xml" /> <Reference Include="System" /> <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73"> <SpecificVersion>False</SpecificVersion> <HintPath>libs\ICSharpCode.SharpZipLib.dll</HintPath> </Reference> </ItemGroup> </Project>