Restore testassets during build to prevent timeouts (#8038)

* Restore testassets during build to prevent timeouts
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1695
This commit is contained in:
Pranav K 2019-03-01 11:43:03 -08:00 committed by GitHub
parent 1ca6202e7e
commit a2e6322721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -61,4 +61,8 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
</ItemGroup>
</Target>
<Target Name="RestoreTestProjects" BeforeTargets="Restore">
<MSBuild Projects="..\testassets\RestoreTestProjects\RestoreTestProjects.csproj" Targets="Restore" />
</Target>
</Project>

View File

@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\AppWithP2PReference\AppWithP2PReference.csproj" />
<ProjectReference Include="..\ClassLibrary\ClassLibrary.csproj" />
<ProjectReference Include="..\ClassLibrary2\ClassLibrary2.csproj" />
<ProjectReference Include="..\SimpleMvc\SimpleMvc.csproj" />
<ProjectReference Include="..\SimpleMvcFSharp\SimpleMvcFSharp.fsproj" />
<ProjectReference Include="..\SimplePages\SimplePages.csproj" />
</ItemGroup>
</Project>