Fix target chaining into hostfxr

This commit is contained in:
Senthil 2016-06-13 14:40:11 -07:00 committed by Bryan Thornbury
parent 469406de7d
commit 716ff73f69

View file

@ -74,8 +74,16 @@ namespace Microsoft.DotNet.Cli.Build
return c.Success();
}
[Target(nameof(InstallSharedHost))]
public static BuildTargetResult InstallHostFxr(BuildTargetContext c)
{
InstallPackage(c.BuildContext.Get<string>("HostFxrInstallerFile"));
return c.Success();
}
[Target(nameof(InstallHostFxr))]
public static BuildTargetResult InstallSharedFramework(BuildTargetContext c)
{
InstallPackage(c.BuildContext.Get<string>("SharedFrameworkInstallerFile"));