Reduce references to Microsoft.AspNetCore.App.Runtime.csproj (#25836)
- dotnet-watch builds against runtime in the SDK - other projects build after runtime project due to Ref.csproj reference - but, when the targeting packs aren't building, there's no reason to use Ref.csproj - followup on76fbd1a283and84962660a3, reducing parallelism in build
This commit is contained in:
parent
6b8ce801e8
commit
6c29f44a0b
|
|
@ -51,11 +51,13 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj">
|
<ProjectReference Include="..\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
||||||
|
Condition=" $(IsTargetingPackBuilding) ">
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
<ProjectReference Include="..\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
||||||
|
Condition=" !$(IsTargetingPackBuilding) ">
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<IncludeSymbols>false</IncludeSymbols>
|
<IncludeSymbols>false</IncludeSymbols>
|
||||||
<NoSemVer20>true</NoSemVer20>
|
<NoSemVer20>true</NoSemVer20>
|
||||||
<IsShippingPackage>false</IsShippingPackage>
|
<IsShippingPackage>false</IsShippingPackage>
|
||||||
|
|
||||||
<!-- No source files -->
|
<!-- No source files -->
|
||||||
<NoWarn>$(NoWarn);CS2008</NoWarn>
|
<NoWarn>$(NoWarn);CS2008</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
@ -24,11 +24,13 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<HostingStartupRuntimeStoreTargets Include="$(DefaultNetCoreTargetFramework)" Runtime="$(TargetRuntimeIdentifier)" />
|
<HostingStartupRuntimeStoreTargets Include="$(DefaultNetCoreTargetFramework)" Runtime="$(TargetRuntimeIdentifier)" />
|
||||||
|
|
||||||
<ProjectReference Include="..\..\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj">
|
<ProjectReference Include="..\..\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
||||||
|
Condition=" $(IsTargetingPackBuilding) ">
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\..\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
<ProjectReference Include="..\..\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
||||||
|
Condition=" !$(IsTargetingPackBuilding) ">
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
|
|
|
||||||
|
|
@ -29,12 +29,6 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||||
|
|
||||||
<ProjectReference
|
|
||||||
Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
|
||||||
PrivateAssets="All"
|
|
||||||
ReferenceOutputAssembly="false"
|
|
||||||
SkipGetTargetFrameworkProperties="true" />
|
|
||||||
|
|
||||||
<Reference
|
<Reference
|
||||||
Include="Microsoft.AspNetCore.Watch.BrowserRefresh"
|
Include="Microsoft.AspNetCore.Watch.BrowserRefresh"
|
||||||
PrivateAssets="All"
|
PrivateAssets="All"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue