From 897f669ec01ed52c85343d5ddaf79e423fa3d79b Mon Sep 17 00:00:00 2001 From: Sridhar Periyasamy Date: Wed, 16 Mar 2016 11:12:45 -0700 Subject: [PATCH] Remove the hack to layout CLI SDK into a production version path. Go back to using a nuget version path. --- scripts/dotnet-cli-build/PackageTargets.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/dotnet-cli-build/PackageTargets.cs b/scripts/dotnet-cli-build/PackageTargets.cs index 0284a5dc6..f58549a1d 100644 --- a/scripts/dotnet-cli-build/PackageTargets.cs +++ b/scripts/dotnet-cli-build/PackageTargets.cs @@ -52,12 +52,7 @@ namespace Microsoft.DotNet.Cli.Build [Target] public static BuildTargetResult CopyCLISDKLayout(BuildTargetContext c) { - // CLI SDK must be layed out in path which has a Nuget version. - // But the muxer does not currently support the pre-release CLI SDK without a global.json file. - // So we are creating a production version. - // var nugetVersion = c.BuildContext.Get("BuildVersion").NuGetVersion; - var nugetVersion = c.BuildContext.Get("BuildVersion").ProductionVersion; - + var nugetVersion = c.BuildContext.Get("BuildVersion").NuGetVersion; var cliSdkRoot = Path.Combine(Dirs.Output, "obj", "clisdk"); var cliSdk = Path.Combine(cliSdkRoot, "sdk", nugetVersion);