2016-07-08 23:53:35 +03:00
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2023-01-20 20:53:36 +03:00
|
|
|
|
2016-07-08 23:53:35 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<AssemblyProject Include="src\OutputCacheModuleAsync\Microsoft.AspNet.OutputCache.OutputCacheModuleAsync.csproj" />
|
2017-04-26 07:12:47 +03:00
|
|
|
<AssemblyProject Include="src\SQLAsyncOutputCacheProvider\Microsoft.AspNet.OutputCache.SQLAsyncOutputCacheProvider.csproj" />
|
2018-08-22 03:01:09 +03:00
|
|
|
<AssemblyProject Include="src\CosmosDBTableAsyncOutputCacheProvider\Microsoft.AspNet.OutputCache.CosmosDBTableAsyncOutputCacheProvider.csproj" />
|
2018-04-05 23:10:11 +03:00
|
|
|
</ItemGroup>
|
2023-01-20 20:53:36 +03:00
|
|
|
|
2018-04-05 23:10:11 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<TestProject Include="test\Microsoft.AspNet.OutputCache.SQLAsyncOutputCacheProvider.Test\Microsoft.AspNet.OutputCache.SQLAsyncOutputCacheProvider.Test.csproj" />
|
|
|
|
<TestProject Include="test\Microsoft.AspNet.OutputCache.OutputCacheModuleAsync.Test\Microsoft.AspNet.OutputCache.OutputCacheModuleAsync.Test.csproj" />
|
2018-08-22 03:01:09 +03:00
|
|
|
<TestProject Include="test\Microsoft.AspNet.OutputCache.CosmosDBTableAsyncOutputCacheProvider.Test\Microsoft.AspNet.OutputCache.CosmosDBTableAsyncOutputCacheProvider.Test.csproj" />
|
2016-07-08 23:53:35 +03:00
|
|
|
</ItemGroup>
|
2023-01-20 20:53:36 +03:00
|
|
|
|
2016-07-08 23:53:35 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<PackageProject Include="src\Packages\Packages.csproj" />
|
|
|
|
</ItemGroup>
|
2023-01-20 20:53:36 +03:00
|
|
|
|
2018-04-05 23:10:11 +03:00
|
|
|
<Target Name="Build" DependsOnTargets="BuildAssemblies;UnitTest;BuildPackages" />
|
2023-01-20 20:53:36 +03:00
|
|
|
<Target Name="Clean" DependsOnTargets="CleanPackages;CleanTests;CleanAssemblies" />
|
2016-07-08 23:53:35 +03:00
|
|
|
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
|
2023-01-20 20:53:36 +03:00
|
|
|
|
2016-07-08 23:53:35 +03:00
|
|
|
<Target Name="BuildAssemblies" DependsOnTargets="RestorePackages">
|
2023-01-20 20:53:36 +03:00
|
|
|
<MSBuild Targets="Build" Projects="@(AssemblyProject)" />
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="BuildTests" DependsOnTargets="RestorePackages">
|
|
|
|
<MSBuild Targets="Build" Projects="@(TestProject)" />
|
|
|
|
</Target>
|
2016-07-08 23:53:35 +03:00
|
|
|
|
|
|
|
<Target Name="CleanAssemblies">
|
2023-01-20 20:53:36 +03:00
|
|
|
<MSBuild Targets="Clean" Projects="@(AssemblyProject)" />
|
2016-07-08 23:53:35 +03:00
|
|
|
</Target>
|
|
|
|
|
2023-01-20 20:53:36 +03:00
|
|
|
<Target Name="CleanTests">
|
|
|
|
<MSBuild Targets="Clean" Projects="@(TestProject)" />
|
|
|
|
</Target>
|
2016-07-08 23:53:35 +03:00
|
|
|
|
|
|
|
<!-- Packages build -->
|
|
|
|
|
2018-04-05 23:10:11 +03:00
|
|
|
<Target Name="BuildPackages" DependsOnTargets="RestorePackages">
|
2016-07-08 23:53:35 +03:00
|
|
|
<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>
|
2018-04-05 23:10:11 +03:00
|
|
|
|
2023-01-20 20:53:36 +03:00
|
|
|
<Target Name="UnitTest" DependsOnTargets="BuildTests">
|
2018-04-05 23:10:11 +03:00
|
|
|
<MSBuild Targets="XunitTest" Projects="@(TestProject)" />
|
|
|
|
</Target>
|
2016-07-08 23:53:35 +03:00
|
|
|
|
|
|
|
<Import Project="tools\MicrosoftAspNetOutputCache.targets"/>
|
|
|
|
</Project>
|