Add the target attribute.

This commit is contained in:
Sridhar Periyasamy 2016-03-14 18:46:56 -07:00
parent 3e765e35b1
commit 6bd9d80fed

View file

@ -142,6 +142,7 @@ namespace Microsoft.DotNet.Cli.Build
return uploadJson;
}
[Target]
public static BuildTargetResult PublishSharedFrameworkCompressedFile(BuildTargetContext c)
{
var compressedFile = c.BuildContext.Get<string>("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<string>("SharedHostCompressedFile");