Add the target attribute.
This commit is contained in:
parent
3e765e35b1
commit
6bd9d80fed
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,7 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
return uploadJson;
|
return uploadJson;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Target]
|
||||||
public static BuildTargetResult PublishSharedFrameworkCompressedFile(BuildTargetContext c)
|
public static BuildTargetResult PublishSharedFrameworkCompressedFile(BuildTargetContext c)
|
||||||
{
|
{
|
||||||
var compressedFile = c.BuildContext.Get<string>("SharedFrameworkCompressedFile");
|
var compressedFile = c.BuildContext.Get<string>("SharedFrameworkCompressedFile");
|
||||||
|
@ -154,6 +155,7 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
return c.Success();
|
return c.Success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Target]
|
||||||
public static BuildTargetResult PublishSharedHostCompressedFile(BuildTargetContext c)
|
public static BuildTargetResult PublishSharedHostCompressedFile(BuildTargetContext c)
|
||||||
{
|
{
|
||||||
var compressedFile = c.BuildContext.Get<string>("SharedHostCompressedFile");
|
var compressedFile = c.BuildContext.Get<string>("SharedHostCompressedFile");
|
||||||
|
|
Loading…
Reference in a new issue