Remove the hack to layout CLI SDK into a production version path.
Go back to using a nuget version path.
This commit is contained in:
parent
570e348edf
commit
897f669ec0
1 changed files with 1 additions and 6 deletions
|
@ -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>("BuildVersion").NuGetVersion;
|
||||
var nugetVersion = c.BuildContext.Get<BuildVersion>("BuildVersion").ProductionVersion;
|
||||
|
||||
var nugetVersion = c.BuildContext.Get<BuildVersion>("BuildVersion").NuGetVersion;
|
||||
var cliSdkRoot = Path.Combine(Dirs.Output, "obj", "clisdk");
|
||||
var cliSdk = Path.Combine(cliSdkRoot, "sdk", nugetVersion);
|
||||
|
||||
|
|
Loading…
Reference in a new issue