Skip to content

Commit b0247cc

Browse files
authored
Move PackageOverrides.txt out of project folder (#27011)
- annoying it showed up as an untracked file - note `$(TargetDir)` is not set until `*.targets` files are read
1 parent b358f4c commit b0247cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Framework/App.Ref/src/Microsoft.AspNetCore.App.Ref.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
5353
<!-- Package overrides and platform manifest metadata. -->
5454
<PackageOverridesFileName>PackageOverrides.txt</PackageOverridesFileName>
5555
<!-- PackageOverrides.txt is written in GeneratePackageOverrides target unless servicing. -->
56-
<ReferencePackageOverridesPath Condition="'$(IsServicingBuild)' != 'true'">$(TargetDir)$(PackageOverridesFileName)</ReferencePackageOverridesPath>
56+
<ReferencePackageOverridesPath Condition="'$(IsServicingBuild)' != 'true'">$(ArtifactsObjDir)$(PackageOverridesFileName)</ReferencePackageOverridesPath>
5757
<ReferencePackageOverridesPath Condition="'$(IsServicingBuild)' == 'true'">$(RepoRoot)eng\$(PackageOverridesFileName)</ReferencePackageOverridesPath>
5858
<!-- PlatformManifest.txt is written in App.Runtime's GenerateSharedFxDepsFile target but not used here when servicing. -->
5959
<ReferencePlatformManifestPath Condition="'$(IsServicingBuild)' != 'true'">$(PlatformManifestOutputPath)</ReferencePlatformManifestPath>

0 commit comments

Comments
 (0)