Skip to content

Commit 0896ca4

Browse files
committed
1 parent f19f1b4 commit 0896ca4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

PowerShellEditorServices.build.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $script:PsesCommonProps = [xml](Get-Content -Raw "$PSScriptRoot/PowerShellEditor
3939
$script:NetRuntime = @{
4040
PS7 = 'netcoreapp3.1'
4141
PS72 = 'net6.0'
42-
Desktop = 'net461'
42+
Desktop = 'net462'
4343
Standard = 'netstandard2.0'
4444
}
4545

src/PowerShellEditorServices.Hosting/PowerShellEditorServices.Hosting.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), PowerShellEditorServices.Common.props))\PowerShellEditorServices.Common.props" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>netcoreapp3.1;net461</TargetFrameworks>
5+
<TargetFrameworks>netcoreapp3.1;net462</TargetFrameworks>
66
<AssemblyName>Microsoft.PowerShell.EditorServices.Hosting</AssemblyName>
77
</PropertyGroup>
88

@@ -21,7 +21,7 @@
2121
<ProjectReference Include="..\PowerShellEditorServices\PowerShellEditorServices.csproj" PrivateAssets="all" />
2222
</ItemGroup>
2323

24-
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
24+
<ItemGroup Condition="'$(TargetFramework)'=='net462'">
2525
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
2626

2727
<Compile Remove="Internal/PsesLoadContext.cs" />

test/PowerShellEditorServices.Test.Shared/TestUtilities/TestUtilities.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static string NormalizePath(string unixPath)
4444
/// <returns>The normalized and resolved path to it.</returns>
4545
public static string GetSharedPath(string path)
4646
{
47-
// TODO: When testing net461 with x64 host, another .. is needed!
47+
// TODO: When testing net462 with x64 host, another .. is needed!
4848
return NormalizePath(Path.Combine(
4949
Path.GetDirectoryName(typeof(TestUtilities).Assembly.Location),
5050
"../../../../PowerShellEditorServices.Test.Shared",

test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), PowerShellEditorServices.Common.props))\PowerShellEditorServices.Common.props" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>net6.0;netcoreapp3.1;net461</TargetFrameworks>
5+
<TargetFrameworks>net6.0;netcoreapp3.1;net462</TargetFrameworks>
66
<AssemblyName>Microsoft.PowerShell.EditorServices.Test</AssemblyName>
77
<TargetPlatform>x64</TargetPlatform>
88
</PropertyGroup>
@@ -27,7 +27,7 @@
2727
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.0.9" />
2828
</ItemGroup>
2929

30-
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
30+
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
3131
<PackageReference Include="Microsoft.PowerShell.5.ReferenceAssemblies" Version="1.1.0" />
3232
</ItemGroup>
3333

@@ -53,7 +53,7 @@
5353
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
5454
</ItemGroup>
5555

56-
<PropertyGroup Condition=" '$(TargetFramework)' != 'net461' ">
56+
<PropertyGroup Condition=" '$(TargetFramework)' != 'net462' ">
5757
<DefineConstants>$(DefineConstants);CoreCLR</DefineConstants>
5858
</PropertyGroup>
5959
</Project>

0 commit comments

Comments
 (0)