From 574222d06add1d66b7c36d95e9b649e55ef6b96b Mon Sep 17 00:00:00 2001 From: Sridhar Periyasamy Date: Tue, 12 Apr 2016 14:14:32 -0700 Subject: [PATCH] Bifurcate the compile CoreHost and nuget packing step into two. This is needed to insert a signing step between them where hostfxr.dll and hostpolicy.dll will be signed. Fixes - #2413 --- scripts/dotnet-cli-build/CompileTargets.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dotnet-cli-build/CompileTargets.cs b/scripts/dotnet-cli-build/CompileTargets.cs index cfbf3b1c0..cf213f6da 100644 --- a/scripts/dotnet-cli-build/CompileTargets.cs +++ b/scripts/dotnet-cli-build/CompileTargets.cs @@ -51,7 +51,7 @@ namespace Microsoft.DotNet.Cli.Build // Moving PrepareTargets.RestorePackages after PackagePkgProjects because managed code depends on the // Microsoft.NETCore.App package that is created during PackagePkgProjects. - [Target(nameof(PrepareTargets.Init), nameof(PackagePkgProjects), nameof(PrepareTargets.RestorePackages), nameof(CompileStage1), nameof(CompileStage2))] + [Target(nameof(PrepareTargets.Init), nameof(CompileCoreHost), nameof(PackagePkgProjects), nameof(PrepareTargets.RestorePackages), nameof(CompileStage1), nameof(CompileStage2))] public static BuildTargetResult Compile(BuildTargetContext c) { return c.Success(); @@ -145,7 +145,7 @@ namespace Microsoft.DotNet.Cli.Build return c.Success(); } - [Target(nameof(CompileCoreHost))] + [Target] public static BuildTargetResult PackagePkgProjects(BuildTargetContext c) { var buildVersion = c.BuildContext.Get("BuildVersion");