2017-01-25 18:34:50 +00:00
|
|
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli.Build
|
|
|
|
{
|
2017-01-28 01:13:04 +00:00
|
|
|
public class DotNetMSBuild : DotNetMSBuildTool
|
2017-01-25 18:34:50 +00:00
|
|
|
{
|
|
|
|
protected override string Command
|
|
|
|
{
|
|
|
|
get { return "msbuild"; }
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override string Args
|
|
|
|
{
|
2017-01-28 01:13:04 +00:00
|
|
|
get { return $"{base.Args} {GetArguments()}"; }
|
2017-01-25 18:34:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public string Arguments { get; set; }
|
|
|
|
|
|
|
|
private string GetArguments()
|
|
|
|
{
|
|
|
|
if (!string.IsNullOrEmpty(Arguments))
|
|
|
|
{
|
|
|
|
return $"{Arguments}";
|
|
|
|
}
|
|
|
|
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|