~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to src/NUnit.proj

  • Committer: charliepoole
  • Date: 2008-02-23 03:26:05 UTC
  • Revision ID: vcs-imports@canonical.com-20080223032605-y413yp2ckipdsd1s
Move non-source files like scripts to the root directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<Project DefaultTargets="Clean;Build;Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
 
 
3
 
        <!--
4
 
        <PropertyGroup>
5
 
                <Version Condition="'$(CCNetLabel)' != ''">2.3.0.$(CCNetLabel)</Version>
6
 
                <Version Condition="'$(CCNetLabel)' == ''">2.3.0</Version>
7
 
        </PropertyGroup>
8
 
        -->
9
 
 
10
 
        <PropertyGroup>
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>
15
 
        </PropertyGroup>
16
 
        
17
 
        <Target Name="Clean">
18
 
                <RemoveDir Directories="$(OutputPath)" />
19
 
                <MSBuild Projects="nunit_VS2005.sln" Targets="Clean" Properties="$(Properties_v1_0)" />
20
 
                <Delete Files="TestResult.xml" />
21
 
        </Target>
22
 
        
23
 
        <Target Name="Build">
24
 
                <MSBuild Projects="nunit_VS2005.sln" Targets="Rebuild" Properties="$(Properties_v1_0)" />
25
 
        </Target>
26
 
        
27
 
        <Target Name="Test" DependsOnTargets="Build">
28
 
                <Copy SourceFiles="NUnitTests.nunit;NUnitTests.config" DestinationFolder="$(OutputPath)" />
29
 
 
30
 
                <Exec Command='set ComPlus_Version=v1.1.4322
31
 
"$(NUnitConsole)" "$(OutputPath)NUnitTests.nunit" "/config=$(OutputPath)NUnitTests.config"' />
32
 
 
33
 
                <Exec Command='set ComPlus_Version=v1.0.3705
34
 
"$(NUnitConsole)" "$(OutputPath)NUnitTests.nunit" "/config=$(OutputPath)NUnitTests.config"' />
35
 
 
36
 
                <Exec Command='set ComPlus_Version=v2.0.50727
37
 
"$(NUnitConsole)" "$(OutputPath)NUnitTests.nunit" "/config=$(OutputPath)NUnitTests.config"' />
38
 
 
39
 
        </Target>
40
 
</Project>