From 9ae5cb9c1c872d3f19f3a67b60cc9ee8741f8d7e Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Sun, 18 Aug 2024 20:14:42 +0200 Subject: [PATCH 1/2] Fix condition for adding package readmes Fixes https://github.com/dotnet/runtime/issues/106585 The EnableDefualtPackageReadmeFile property needs to be defined before packaging.targets is imported. --- eng/packaging.targets | 1 + .../pkg/sfx/Microsoft.NETCore.App/Directory.Build.props | 1 - src/libraries/Directory.Build.targets | 3 --- .../Microsoft.NET.Runtime.WebAssembly.Templates.csproj | 2 ++ .../Microsoft.Diagnostics.NETCore.Client.csproj | 2 ++ src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj | 2 ++ 6 files changed, 7 insertions(+), 4 deletions(-) diff --git a/eng/packaging.targets b/eng/packaging.targets index 6ad92552c25611..bc52dce0d14e53 100644 --- a/eng/packaging.targets +++ b/eng/packaging.targets @@ -22,6 +22,7 @@ $(MSBuildThisFileDirectory)useSharedDesignerContext.txt + true PACKAGE.md PACKAGE.md $(BeforePack);ValidatePackageReadmeExists diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props b/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props index d6af2ef9b786c8..f2379fc9ff34da 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props @@ -6,7 +6,6 @@ $(MicrosoftNetCoreAppFrameworkName) false .NET Runtime - true - true diff --git a/src/mono/wasm/templates/Microsoft.NET.Runtime.WebAssembly.Templates.csproj b/src/mono/wasm/templates/Microsoft.NET.Runtime.WebAssembly.Templates.csproj index 0a4927e350fe7a..bc6ac6d8a84747 100644 --- a/src/mono/wasm/templates/Microsoft.NET.Runtime.WebAssembly.Templates.csproj +++ b/src/mono/wasm/templates/Microsoft.NET.Runtime.WebAssembly.Templates.csproj @@ -16,6 +16,8 @@ $(NoWarn);NU5128 true false + + false diff --git a/src/tests/tracing/eventpipe/common/Microsoft.Diagnostics.NETCore.Client/Microsoft.Diagnostics.NETCore.Client.csproj b/src/tests/tracing/eventpipe/common/Microsoft.Diagnostics.NETCore.Client/Microsoft.Diagnostics.NETCore.Client.csproj index 49503b15eedcda..8acc555e78d55b 100644 --- a/src/tests/tracing/eventpipe/common/Microsoft.Diagnostics.NETCore.Client/Microsoft.Diagnostics.NETCore.Client.csproj +++ b/src/tests/tracing/eventpipe/common/Microsoft.Diagnostics.NETCore.Client/Microsoft.Diagnostics.NETCore.Client.csproj @@ -13,6 +13,8 @@ true false true + + false diff --git a/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj b/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj index c7bda095b5b2ba..ea27178d3faabe 100644 --- a/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj +++ b/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj @@ -18,6 +18,8 @@ false false $(TargetsForTfmSpecificContentInPackage);AddBuildOutputToToolsPackage + + false - + +