Incremented version number to v3.4.7.
[dotnetopenid.git] / build.proj
blob9079c706725242ce0ad3ec0ee131060331187433
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"/>
6         <ItemGroup>
7                 <NightlyProjects Include="
8                                                                                 samples\tools.proj;
9                                                                                 tools\drop.proj;
10                                                                                 nuget\nuget.proj;
11                                                                                 " />
12                 <NightlyProjects Include="
13                                                                                 samples\samples.proj;
14                                                                                 doc\doc.proj;
15                                                                                 ">
16                         <Targets>DeployableArchive</Targets>
17                 </NightlyProjects>
19                 <ProjectsToClean Include="
20                                                                                  $(SolutionPath);
21                                                                                  projecttemplates\projecttemplates.proj;
22                                                                                  vsi\vsi.proj;
23                                                                                  vsix\vsix.proj;
24                                                                                  samples\samples.proj;
25                                                                                  doc\doc.proj;
26                                                                                  "/>
28                 <DirectoriesToClean Include="
29                                                    $(ProjectRoot)bin;
30                                                    $(ProjectRoot)**\obj;
31                                                    $(DropsRoot);
32                                                    $(ProjectRoot)src\PrecompiledWeb;
33                                                    " />
34                 <FilesToClean Include="
35                                      $(ProjectRoot)**\*~;
36                                      $(ProjectRoot)**\*.log*;
37                                      $(ProjectRoot)doc\$(ProductName).chm;
38                                      " />
39         </ItemGroup>
41         <Target Name="BuildTests" DependsOnTargets="SkipVerification">
42                 <MSBuild Projects="$(SolutionPath)" Targets="DotNetOpenAuth_Test;DotNetOpenAuth_TestWeb" BuildInParallel="$(BuildInParallel)" />
43         </Target>
45         <Target Name="Build" DependsOnTargets="SkipVerification">
46                 <MSBuild Projects="$(SolutionPath)" BuildInParallel="$(BuildInParallel)" />
47         </Target>
49         <Target Name="Rebuild" DependsOnTargets="SkipVerification">
50                 <MSBuild Projects="$(SolutionPath)" Targets="Rebuild" BuildInParallel="$(BuildInParallel)" />
51         </Target>
53         <Target Name="Test" DependsOnTargets="BuildTests"
54                 Inputs="$(OutputPath)$(ProductName).dll;$(OutputPath)$(ProductName).Test.dll"
55                 Outputs='$(OutputPath)Test-result.xml'>
56                 <PropertyGroup>
57                         <!-- Performance tests are only expected to pass in optimized builds. -->
58                         <NUnitExcludeCategories Condition=" '$(Configuration)' != 'Release' ">Performance</NUnitExcludeCategories>
59                 </PropertyGroup>
60                 <NUnit Assemblies="$(OutputPath)$(ProductName).Test.dll"
61                        ToolPath="$(NUnitToolPath)"
62                        OutputXmlFile="$(OutputPath)Test-result.xml"
63                        ExcludeCategory="$(NUnitExcludeCategories)" />
64         </Target>
66         <Target Name="Nightly">
67                 <MSBuild Projects="@(NightlyProjects)" Targets="%(NightlyProjects.Targets)" BuildInParallel="$(BuildInParallel)" />
68         </Target>
70         <Target Name="Publish">
71                 <MSBuild Projects="@(ProjectsToPublish)" Targets="%(ProjectsToPublish.Targets)" BuildInParallel="$(BuildInParallel)" />
72         </Target>
74         <Import Project="$(ProjectRoot)tools\DotNetOpenAuth.automated.targets"/>
75         <Import Project="EnlistmentInfo.targets" />
76 </Project>