Replacing all implicit msbuild parameters from using a forward slash to using a dash.
This commit is contained in:
parent
7c37c9a069
commit
10289504a8
33 changed files with 179 additions and 179 deletions
|
|
@ -36,10 +36,10 @@ namespace Microsoft.DotNet.Tools
|
|||
|
||||
if (HasArgumentToExcludeFromRestore(parsedArguments))
|
||||
{
|
||||
return Prepend("/nologo", msbuildArgs);
|
||||
return Prepend("-nologo", msbuildArgs);
|
||||
}
|
||||
|
||||
return Prepend("/restore", msbuildArgs);
|
||||
return Prepend("-restore", msbuildArgs);
|
||||
}
|
||||
|
||||
private static RestoreCommand GetSeparateRestoreCommand(
|
||||
|
|
@ -70,7 +70,7 @@ namespace Microsoft.DotNet.Tools
|
|||
=> arguments.Any(a => IsExcludedFromRestore(a));
|
||||
|
||||
private static bool IsExcludedFromRestore(string argument)
|
||||
=> argument.StartsWith("/p:TargetFramework=", StringComparison.Ordinal);
|
||||
=> argument.StartsWith("-p:TargetFramework=", StringComparison.Ordinal);
|
||||
|
||||
public override int Execute()
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue