1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <Import Project="EnlistmentInfo.props" />
3 <Import Project="$(MSBuildProjectDirectory)\tools\DotNetOpenAuth.automated.props"/>
4 <Import Project="$(ProjectRoot)tools\Translation.targets"/>
7 <NightlyProjects Include="
12 <NightlyProjects Include="
16 <Targets>DeployableArchive</Targets>
19 <ProjectsToClean Include="
21 projecttemplates\projecttemplates.proj;
28 <DirectoriesToClean Include="
32 $(ProjectRoot)src\PrecompiledWeb;
34 <FilesToClean Include="
36 $(ProjectRoot)**\*.log*;
37 $(ProjectRoot)doc\$(ProductName).chm;
41 <Target Name="BuildTests" DependsOnTargets="SkipVerification">
42 <MSBuild Projects="$(SolutionPath)" Targets="DotNetOpenAuth_Test;DotNetOpenAuth_TestWeb" BuildInParallel="$(BuildInParallel)" />
45 <Target Name="Build" DependsOnTargets="SkipVerification">
46 <MSBuild Projects="$(SolutionPath)" BuildInParallel="$(BuildInParallel)" />
49 <Target Name="Rebuild" DependsOnTargets="SkipVerification">
50 <MSBuild Projects="$(SolutionPath)" Targets="Rebuild" BuildInParallel="$(BuildInParallel)" />
53 <Target Name="Test" DependsOnTargets="BuildTests"
54 Inputs="$(OutputPath)$(ProductName).dll;$(OutputPath)$(ProductName).Test.dll"
55 Outputs='$(OutputPath)Test-result.xml'>
57 <!-- Performance tests are only expected to pass in optimized builds. -->
58 <NUnitExcludeCategories Condition=" '$(Configuration)' != 'Release' ">Performance</NUnitExcludeCategories>
60 <NUnit Assemblies="$(OutputPath)$(ProductName).Test.dll"
61 ToolPath="$(NUnitToolPath)"
62 OutputXmlFile="$(OutputPath)Test-result.xml"
63 ExcludeCategory="$(NUnitExcludeCategories)" />
66 <Target Name="Nightly">
67 <MSBuild Projects="@(NightlyProjects)" Targets="%(NightlyProjects.Targets)" BuildInParallel="$(BuildInParallel)" />
70 <Target Name="Publish">
71 <MSBuild Projects="@(ProjectsToPublish)" Targets="%(ProjectsToPublish.Targets)" BuildInParallel="$(BuildInParallel)" />
74 <Import Project="$(ProjectRoot)tools\DotNetOpenAuth.automated.targets"/>
75 <Import Project="EnlistmentInfo.targets" />