view IBBoard.WarFoundry.API.Tests.csproj @ 7:209c2e9b8b20

Re #44 - Fix WarFoundry API tests * Update .csproj to reference new SharpZipLib library * Copy test data to output dir on build * Make Mock files reference data files in "testdata" folder as file names
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Mar 2009 16:41:57 +0000
parents 90f63edddc94
children f96169484ba5
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>{B20E808D-878E-4F6D-B1E3-84A9A49905CB}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>IBBoard.WarFoundry.API.Tests</RootNamespace>
    <AssemblyName>IBBoard.WarFoundry.API.Tests</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>
    <Content Include="libs\ICSharpCode.SharpZipLib.dll" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="MockObjects\FixedFileWarFoundryLoader.cs" />
    <Compile Include="MockObjects\MockFactory.cs" />
    <Compile Include="MockObjects\MockRaceZipFile.cs" />
    <Compile Include="MockObjects\MockSystemZipFile.cs" />
    <Compile Include="WarFoundryFactoryFactoryTest.cs" />
    <Compile Include="WarFoundryFactoryTest.cs" />
    <Compile Include="WarFoundryLoaderTest.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="COPYING.GPL" />
    <None Include="COPYING.LGPL" />
    <None Include="testdata\Test.race">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="testdata\Test.system">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>libs\ICSharpCode.SharpZipLib.dll</HintPath>
    </Reference>
    <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\IBBoard.WarFoundry.API\IBBoard.WarFoundry.API.csproj">
      <Project>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</Project>
      <Name>IBBoard.WarFoundry.API</Name>
    </ProjectReference>
  </ItemGroup>
</Project>