Skip to content

Commit a1174dc

Browse files
committed
Slight code tweaks to make the code compatible with .NET Framework in the AWS Toolkit for VS
1 parent 80a6236 commit a1174dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Amazon.Common.DotNetCli.Tools/Options/CommandLineParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static CommandOptions ParseArguments(
6363

6464
// --msbuild-parameters is a special case where multiple parameters separated by space character are enclosed in double quotes. In certain environments (like JavaScript action runner), the leading and trailing double quotes characters are also passed to .NET command arguments.
6565
if (option == CommonDefinedCommandOptions.ARGUMENT_MSBUILD_PARAMETERS && !string.IsNullOrEmpty(value.StringValue)
66-
&& (value.StringValue.Trim().StartsWith('\"') && value.StringValue.Trim().EndsWith('\"')))
66+
&& (value.StringValue.Trim().StartsWith("\"") && value.StringValue.Trim().EndsWith("\"")))
6767
{
6868
value.StringValue = value.StringValue.Trim().Trim('\"');
6969
}

src/Amazon.Common.DotNetCli.Tools/Utilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public static Dictionary<string, string> LookupProjectProperties(string projectL
223223
"msbuild",
224224
projectFile,
225225
"-nologo",
226-
$"--getProperty:{string.Join(',', propertyNames)}"
226+
$"--getProperty:{string.Join(",", propertyNames)}"
227227
};
228228

229229
if (!string.IsNullOrEmpty(msBuildParameters))

0 commit comments

Comments
 (0)