From 2e7cd54159d36653f1e63e0ae3dc0c093fcf3003 Mon Sep 17 00:00:00 2001 From: Fati Iseni Date: Fri, 2 May 2025 13:03:42 +0300 Subject: [PATCH] Updated MSBuild sample. --- .../AppSettingStronglyTyped.csproj | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/msbuild/custom-task-code-generation/AppSettingStronglyTyped/AppSettingStronglyTyped/AppSettingStronglyTyped.csproj b/msbuild/custom-task-code-generation/AppSettingStronglyTyped/AppSettingStronglyTyped/AppSettingStronglyTyped.csproj index a42b8db5731..818d1d228ff 100644 --- a/msbuild/custom-task-code-generation/AppSettingStronglyTyped/AppSettingStronglyTyped/AppSettingStronglyTyped.csproj +++ b/msbuild/custom-task-code-generation/AppSettingStronglyTyped/AppSettingStronglyTyped/AppSettingStronglyTyped.csproj @@ -8,22 +8,27 @@ Generates a strongly typed setting class base on a txt file MyTags Copyright ©Contoso 2022 - + + true + true + $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage tasks NU5100 + true embedded true - + + PrivateAssets="all" + ExcludeAssets="Runtime" />