1
<Project DefaultTargets="Clean;Build;Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
5
<Version Condition="'$(CCNetLabel)' != ''">2.3.0.$(CCNetLabel)</Version>
6
<Version Condition="'$(CCNetLabel)' == ''">2.3.0</Version>
11
<MSBuildExtensionsPath>$(MSBuildProjectDirectory)\..\tools\MSBuildExtensions</MSBuildExtensionsPath>
12
<OutputPath>$(MSBuildProjectDirectory)\..\build\net\1.0\Debug\</OutputPath>
13
<Properties_v1_0>OutputPath=$(OutputPath);NoWarn=;TargetFrameworkVersion=v1.0;MSBuildExtensionsPath=$(MSBuildExtensionsPath);CustomAfterMicrosoftCommonTargets=$(MSBuildExtensionsPath)\CrossCompile.CSharp.targets</Properties_v1_0>
14
<NUnitConsole>$(OutputPath)nunit-console.exe</NUnitConsole>
18
<RemoveDir Directories="$(OutputPath)" />
19
<MSBuild Projects="nunit_VS2005.sln" Targets="Clean" Properties="$(Properties_v1_0)" />
20
<Delete Files="TestResult.xml" />
24
<MSBuild Projects="nunit_VS2005.sln" Targets="Rebuild" Properties="$(Properties_v1_0)" />
27
<Target Name="Test" DependsOnTargets="Build">
28
<Copy SourceFiles="NUnitTests.nunit;NUnitTests.config" DestinationFolder="$(OutputPath)" />
30
<Exec Command='set ComPlus_Version=v1.1.4322
31
"$(NUnitConsole)" "$(OutputPath)NUnitTests.nunit" "/config=$(OutputPath)NUnitTests.config"' />
33
<Exec Command='set ComPlus_Version=v1.0.3705
34
"$(NUnitConsole)" "$(OutputPath)NUnitTests.nunit" "/config=$(OutputPath)NUnitTests.config"' />
36
<Exec Command='set ComPlus_Version=v2.0.50727
37
"$(NUnitConsole)" "$(OutputPath)NUnitTests.nunit" "/config=$(OutputPath)NUnitTests.config"' />