Skip to content

Commit

Permalink
Always pack App projects for consistency (#39952)
Browse files Browse the repository at this point in the history
- avoid need to reference both projects when the packages are needed
  • Loading branch information
dougbu authored Feb 3, 2022
1 parent 55c3990 commit 0d2e5aa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Framework/App.Ref/src/Microsoft.AspNetCore.App.Ref.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ This package is an internal implementation of the .NET Core SDK and is not meant
<!-- PlatformManifest.txt is written in App.Runtime's GenerateSharedFxDepsFile target but not used here when servicing. -->
<ReferencePlatformManifestPath Condition="'$(IsServicingBuild)' != 'true'">$(PlatformManifestOutputPath)</ReferencePlatformManifestPath>
<ReferencePlatformManifestPath Condition="'$(IsServicingBuild)' == 'true'">$(RepoRoot)eng\PlatformManifest.txt</ReferencePlatformManifestPath>

<!--
Package is needed when publishing for Helix tests. Set GeneratePackageOnBuild here, though sometimes
unnecessary, to avoid distinct references to this project.
-->
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ This package is an internal implementation of the .NET Core SDK and is not meant

<NativePlatform>$(TargetArchitecture)</NativePlatform>
<NativePlatform Condition=" '$(NativePlatform)' == 'x86' ">Win32</NativePlatform>

<!--
Package is needed when publishing for Helix tests. Set GeneratePackageOnBuild here, though sometimes
unnecessary, to avoid distinct references to this project.
-->
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 0d2e5aa

Please sign in to comment.