Mercurial > repos > IBDev-IBBoard.WarFoundry.API
view IBBoard.WarFoundry.API.csproj @ 23:f9846f896df3
Re #32 - Migrate WarFoundry files to using Schemas
* Add missing spaces to Cats and Core XSD
* Fix some incorrect namespaces in Race XSD
* Copy schemas to output dir on build
* Make WarFoundryXmlFactory validate against Schemas
* Make WarFoundryLoader handle failed file loads slightly differently so that we can log out as a warning
* Correctly structure "simpleContent" sections of Race XSD
Still to do:
* Work out why Race XSD doesn't like core:nonNegativeDecimal but appears to be fine with core:percentage
* Migrate test files to define namespaces and make sure they match the structure
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 12 Mar 2009 21:35:17 +0000 |
parents | b7c93a5821cd |
children | 67db7f97b4ab |
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> <StartupObject> </StartupObject> </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="COPYING.GPL" /> <None Include="COPYING.LGPL" /> <None Include="dtds\army.dtd" /> <None Include="dtds\race.dtd" /> <None Include="dtds\system.dtd" /> <None Include="dtds\system.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Include="dtds\race.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Include="dtds\warfoundry-core.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Include="dtds\warfoundry-cats.xsd"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> </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\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\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\UnitEquipmentItemObj.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" /> </ItemGroup> <ItemGroup> <Content Include="libs\ICSharpCode.SharpZipLib.dll" /> <Content Include="libs\log4net.dll" /> <Content Include="libs\log4net.xml" /> </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.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73"> <SpecificVersion>False</SpecificVersion> <HintPath>libs\ICSharpCode.SharpZipLib.dll</HintPath> </Reference> </ItemGroup> </Project>