From 59e8966242c866491874b364270d9eb302bb0397 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Fri, 30 Nov 2018 14:46:05 -0800 Subject: [PATCH 1/2] Update worker to build against 6.2.0-preview.2 SDK --- src/Microsoft.Azure.Functions.PowerShellWorker.csproj | 2 +- src/Utility/TypeExtensions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Azure.Functions.PowerShellWorker.csproj b/src/Microsoft.Azure.Functions.PowerShellWorker.csproj index 0669cb24..d2c6ed45 100644 --- a/src/Microsoft.Azure.Functions.PowerShellWorker.csproj +++ b/src/Microsoft.Azure.Functions.PowerShellWorker.csproj @@ -18,7 +18,7 @@ Licensed under the MIT license. See LICENSE file in the project root for full li - + diff --git a/src/Utility/TypeExtensions.cs b/src/Utility/TypeExtensions.cs index a0c5a1f5..f083b1ba 100644 --- a/src/Utility/TypeExtensions.cs +++ b/src/Utility/TypeExtensions.cs @@ -101,7 +101,7 @@ internal static object ToObject(this TypedData data) private static MethodInfo s_ConvertFromJson = null; private static object ConvertFromJson(string json) { - const string UtilityAssemblyFullName = "Microsoft.PowerShell.Commands.Utility, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"; + const string UtilityAssemblyFullName = "Microsoft.PowerShell.Commands.Utility, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"; if (s_ConvertFromJson == null) { From 2f5a0e58f0be3925e558b281540644aeccbfc8f4 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Fri, 30 Nov 2018 16:30:54 -0800 Subject: [PATCH 2/2] Update the SDK version in Test as well --- test/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj b/test/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj index 5df2dd0b..95ead50b 100644 --- a/test/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj +++ b/test/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj @@ -11,7 +11,7 @@ - +