Reference the SDK project to make build time restore actually work (dotnet/aspnetcore-tooling#278)

\n\nCommit migrated from 22f4c134c1
This commit is contained in:
Pranav K 2019-03-01 09:35:52 -08:00 committed by GitHub
parent c7b34a9184
commit 1af49ef26f
2 changed files with 18 additions and 14 deletions

View File

@ -38,7 +38,6 @@
<!-- 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>
@ -93,4 +92,8 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
</Target>
<Target Name="RestoreTestProjects" BeforeTargets="Restore">
<MSBuild Projects="..\testapps\RestoreTestProjects\RestoreTestProjects.csproj" Targets="Restore" />
</Target>
</Project>

View File

@ -1,20 +1,21 @@
<Project>
<Project Sdk="Microsoft.NET.Sdk">
<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" />
<ProjectReference Include="..\AppWithP2PReference\AppWithP2PReference.csproj" />
<ProjectReference Include="..\ClassLibrary\ClassLibrary.csproj" />
<ProjectReference Include="..\ClassLibrary2\ClassLibrary2.csproj" />
<ProjectReference Include="..\ClassLibraryMvc21\ClassLibraryMvc21.csproj" />
<ProjectReference Include="..\ComponentLibrary\ComponentLibrary.csproj" />
<ProjectReference Include="..\LargeProject\LargeProject.csproj" />
<ProjectReference Include="..\SimpleMvcFSharp\SimpleMvcFSharp.fsproj" />
<ProjectReference Include="..\SimpleMvc\SimpleMvc.csproj" />
<ProjectReference Include="..\SimpleMvc11\SimpleMvc11.csproj" />
<ProjectReference Include="..\SimpleMvc21\SimpleMvc21.csproj" />
<ProjectReference Include="..\SimpleMvc22\SimpleMvc22.csproj" />
<ProjectReference Include="..\SimplePages\SimplePages.csproj" />
</ItemGroup>
</Project>