diff --git a/scripts/dotnet-cli-build/PublishTargets.cs b/scripts/dotnet-cli-build/PublishTargets.cs index 23aa141f6..b7308312e 100644 --- a/scripts/dotnet-cli-build/PublishTargets.cs +++ b/scripts/dotnet-cli-build/PublishTargets.cs @@ -142,6 +142,7 @@ namespace Microsoft.DotNet.Cli.Build return uploadJson; } + [Target] public static BuildTargetResult PublishSharedFrameworkCompressedFile(BuildTargetContext c) { var compressedFile = c.BuildContext.Get("SharedFrameworkCompressedFile"); @@ -154,6 +155,7 @@ namespace Microsoft.DotNet.Cli.Build return c.Success(); } + [Target] public static BuildTargetResult PublishSharedHostCompressedFile(BuildTargetContext c) { var compressedFile = c.BuildContext.Get("SharedHostCompressedFile");