Restore packages as part of build to avoid restore timeouts as part of running tests

Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1701
\n\nCommit migrated from 7f49b97eb5
This commit is contained in:
Pranav K 2019-02-06 13:11:57 -08:00
parent cbaadeff26
commit 1cbc513cfb
2 changed files with 25 additions and 7 deletions

View File

@ -32,15 +32,13 @@
</ItemGroup>
<ItemGroup>
<!-- We don't need anything in this assembly, we just want to make sure it's built -->
<ProjectReference Include="..\..\src\Microsoft.NET.Sdk.Razor\Microsoft.NET.Sdk.Razor.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Mvc.Razor.Extensions\Microsoft.AspNetCore.Mvc.Razor.Extensions.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Razor.Tools\Microsoft.AspNetCore.Razor.Tools.csproj" />
<ProjectReference Include="..\Microsoft.AspNetCore.Razor.Test.MvcShim.ClassLib\Microsoft.AspNetCore.Razor.Test.MvcShim.ClassLib.csproj" />
<!-- We don't need anything in this assembly, we just want to make sure it's built -->
<ProjectReference Include="..\..\src\Microsoft.NET.Sdk.Razor\Microsoft.NET.Sdk.Razor.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Mvc.Razor.Extensions\Microsoft.AspNetCore.Mvc.Razor.Extensions.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\testapps\RestoreTestProjects\RestoreTestProjects.csproj" ReferenceOutputAssembly="false" />
</ItemGroup>
<PropertyGroup>

View File

@ -0,0 +1,20 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\AppWithP2PReference\AppWithP2PReference.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ClassLibrary\ClassLibrary.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ClassLibrary2\ClassLibrary2.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ClassLibraryMvc21\ClassLibraryMvc21.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\ComponentLibrary\ComponentLibrary.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\LargeProject\LargeProject.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\SimpleMvcFSharp\SimpleMvcFSharp.fsproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\SimpleMvc\SimpleMvc.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\SimpleMvc11\SimpleMvc11.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\SimpleMvc21\SimpleMvc21.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\SimpleMvc22\SimpleMvc22.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\SimplePages\SimplePages.csproj" ReferenceOutputAssembly="false" />
</ItemGroup>
</Project>