Fix build-base-path to be converted to a full path.
This allows commands to run in different working directories and pass around the full path to the build-base-path, instead of a relative path.
This commit is contained in:
parent
f2d917ed2e
commit
6249829e68
5 changed files with 22 additions and 4 deletions
|
@ -6,6 +6,7 @@ using System.IO;
|
|||
using Microsoft.DotNet.Cli.CommandLine;
|
||||
using Microsoft.DotNet.Cli.Utils;
|
||||
using Microsoft.DotNet.ProjectModel;
|
||||
using Microsoft.DotNet.Tools.Common;
|
||||
|
||||
namespace Microsoft.DotNet.Tools.Publish
|
||||
{
|
||||
|
@ -37,7 +38,7 @@ namespace Microsoft.DotNet.Tools.Publish
|
|||
|
||||
publish.Framework = framework.Value();
|
||||
publish.Runtime = runtime.Value();
|
||||
publish.BuildBasePath = buildBasePath.Value();
|
||||
publish.BuildBasePath = PathUtility.GetFullPath(buildBasePath.Value());
|
||||
publish.OutputPath = output.Value();
|
||||
publish.Configuration = configuration.Value() ?? Constants.DefaultConfiguration;
|
||||
publish.NativeSubdirectories = nativeSubdirectories.HasValue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue