-
Notifications
You must be signed in to change notification settings - Fork 43
/
MicrosoftAspNetSessionState.msbuild
68 lines (50 loc) · 2.61 KB
/
MicrosoftAspNetSessionState.msbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<AssemblyProject Include="src\SessionStateModule\Microsoft.AspNet.SessionState.SessionStateModule.csproj" />
<AssemblyProject Include="src\SqlSessionStateProviderAsync\Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync.csproj" />
<AssemblyProject Include="src\CosmosDBSessionStateProviderAsync\Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync.csproj" />
</ItemGroup>
<ItemGroup>
<TestProject Include="test\Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync.Test\Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync.Test.csproj" />
<TestProject Include="test\Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync.Test\Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync.Test.csproj" />
</ItemGroup>
<ItemGroup>
<PackageProject Include="src\Packages\Packages.csproj" />
</ItemGroup>
<Target Name="Build" DependsOnTargets="BuildAssemblies;UnitTest;BuildPackages" />
<Target Name="BuildAll" DependsOnTargets="BuildAssemblies;BuildSamples;BuildPackages;UnitTest" />
<Target Name="Clean" DependsOnTargets="CleanPackages;CleanSamples;CleanTests;CleanAssemblies" />
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
<Target Name="BuildAssemblies" DependsOnTargets="RestorePackages">
<MSBuild Targets="Build" Projects="@(AssemblyProject)" />
</Target>
<Target Name="BuildTests" DependsOnTargets="RestorePackages">
<MSBuild Targets="Build" Projects="@(TestProject)" />
</Target>
<Target Name="BuildSamples" DependsOnTargets="RestorePackages">
<MSBuild Targets="Build" Projects="@(SampleProject)" />
</Target>
<Target Name="CleanAssemblies">
<MSBuild Targets="Clean" Projects="@(AssemblyProject)" />
</Target>
<Target Name="CleanTests">
<MSBuild Targets="Clean" Projects="@(TestProject)" />
</Target>
<Target Name="CleanSamples">
<MSBuild Targets="Clean" Projects="@(SampleProject)" />
</Target>
<!-- Packages build -->
<Target Name="BuildPackages" DependsOnTargets="RestorePackages">
<MSBuild Targets="" Projects="@(PackageProject)" />
</Target>
<Target Name="CleanPackages">
<MSBuild Targets="Clean" Projects="@(PackageProject)" />
</Target>
<Target Name="RebuildPackages" DependsOnTargets="CleanPackages;BuildPackages" />
<Target Name="RestorePackages">
<Exec Command=".nuget\NuGet.exe restore" />
</Target>
<Target Name="UnitTest" DependsOnTargets="BuildTests">
<MSBuild Targets="XunitTest" Projects="@(TestProject)" />
</Target>
</Project>