Skip to content

Commit 5fd9170

Browse files
authored
Update worker to build against 6.2.0-preview.2 SDK (#106)
1 parent 2138cba commit 5fd9170

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Microsoft.Azure.Functions.PowerShellWorker.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Licensed under the MIT license. See LICENSE file in the project root for full li
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.1.0" />
21+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.2.0-preview.2" />
2222
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
2323
<PackageReference Include="CommandLineParser" Version="2.3.0" />
2424
<PackageReference Include="Grpc" Version="1.14.1" />

src/Utility/TypeExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ internal static object ToObject(this TypedData data)
101101
private static MethodInfo s_ConvertFromJson = null;
102102
private static object ConvertFromJson(string json)
103103
{
104-
const string UtilityAssemblyFullName = "Microsoft.PowerShell.Commands.Utility, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
104+
const string UtilityAssemblyFullName = "Microsoft.PowerShell.Commands.Utility, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
105105

106106
if (s_ConvertFromJson == null)
107107
{

test/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageReference Include="xunit" Version="2.3.1" />
1212
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
1313
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
14-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.1.0" />
14+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.2.0-preview.2" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

0 commit comments

Comments
 (0)