Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
normj committed Dec 2, 2024
1 parent cac10d2 commit 8a5608b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Amazon.Common.DotNetCli.Tools/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public static string DeterminePublishLocation(string workingDirectory, string pr
/// Looks up specified properties from a project.
/// </summary>
/// <param name="projectLocation">The location of the project file.</param>
/// <param name="msBuildParameters">Additonal MSBuild paramteres passed by the user from the commandline</param>
/// <param name="msBuildParameters">Additional MSBuild parameters passed by the user from the commandline</param>
/// <param name="propertyNames">The names of the properties to look up.</param>
/// <returns>A dictionary of property names and their values.</returns>
public static Dictionary<string, string> LookupProjectProperties(string projectLocation, string msBuildParameters, params string[] propertyNames)
Expand Down
2 changes: 2 additions & 0 deletions test/Amazon.Common.DotNetCli.Tools.Test/UtilitiesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ public void TestHasExplicitSelfContainedFlag(string projectLocation, string msBu
[InlineData("TargetFramework", "", "net6.0")]
[InlineData("TargetFramework", "/p:NonExistence=net20.0", "net6.0")]
[InlineData("TargetFramework", "/p:TargetFramework=net20.0", "net20.0")]
[InlineData("TargetFramework", "/p:TargetFramework=net20.0 /p:OutputType=FutureDevice", "net20.0")]
[InlineData("OutputType", "/p:TargetFramework=net20.0 /p:OutputType=FutureDevice", "FutureDevice")]
public void TestPropertyEvaluationWithMSBuildParameters(string property, string msbuildparameters, string expectedValue)
{
var projectLocation = "../../../../../testapps/TestFunction";
Expand Down

0 comments on commit 8a5608b

Please sign in to comment.