8000 [release/10.0.1xx-preview4] Don't flow OutputPath global property in … · dotnet/sdk@5c6deb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c6deb8

Browse files
[release/10.0.1xx-preview4] Don't flow OutputPath global property in dotnet-sdk.proj (#48809)
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
1 parent 4640396 commit 5c6deb8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/Layout/pkg/dotnet-sdk.proj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@
2626
-->
2727
<InstallerRuntimeIdentifiers>linux-$(TargetArchitecture)</InstallerRuntimeIdentifiers>
2828
<IsShippingPackage>true</IsShippingPackage>
29-
</PropertyGroup>
30-
31-
<ItemGroup>
3229
<!-- The PublishToDisk target which depends on ResolveProjectReferences is invoked with OutputPath as an global property
33-
which would flow to redist.csproj. -->
34-
<ProjectReference Include="..\redist\redist.csproj" ReferenceOutputAssembly="false" GlobalPropertiesToRemove="OutputPath" />
35-
</ItemGroup>
30+
which would flow to redist.csproj or sdk-tasks.csproj. -->
31+
<_GlobalPropertiesToRemoveFromProjectReferences>$(_GlobalPropertiesToRemoveFromProjectReferences);OutputPath</_GlobalPropertiesToRemoveFromProjectReferences>
32+
</PropertyGroup>
3633

3734
<ItemGroup>
35+
<ProjectReference Include="..\redist\redist.csproj" ReferenceOutputAssembly="false" />
3836
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Installers" />
3937
</ItemGroup>
4038

0 commit comments

Comments
 (0)
0