Skip to content

Commit 9adfeef

Browse files
authored
Use .NET 8 version of Microsoft.Extensions.DependencyModel for PowerShell (#5288)
1 parent 5fad7a3 commit 9adfeef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ServiceControl.Management.PowerShell/ServiceControl.Management.PowerShell.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="Microsoft.Extensions.DependencyModel" GeneratePathProperty="true" />
29+
<PackageReference Include="Microsoft.Extensions.DependencyModel" GeneratePathProperty="true" VersionOverride="8.0.2" />
3030
<PackageReference Include="System.Management.Automation" />
3131
</ItemGroup>
3232

@@ -36,7 +36,7 @@
3636

3737
<ItemGroup>
3838
<Artifact Include="$(OutputPath)" DestinationFolder="$(PowerShellModuleArtifactsPath)" />
39-
<Artifact Include="$(PkgMicrosoft_Extensions_DependencyModel)\lib\netstandard2.0\Microsoft.Extensions.DependencyModel.dll" DestinationFolder="$(PowerShellModuleArtifactsPath)" />
39+
<Artifact Include="$(PkgMicrosoft_Extensions_DependencyModel)\lib\net8.0\Microsoft.Extensions.DependencyModel.dll" DestinationFolder="$(PowerShellModuleArtifactsPath)" />
4040
<Artifact Include="$(PowerShellModuleName).psd1" DestinationFolder="$(PowerShellModuleArtifactsPath)" />
4141
<Artifact Include="$(PowerShellModuleName).psm1" DestinationFolder="$(PowerShellModuleArtifactsPath)" />
4242
<Artifact Include="$(PowerShellModuleName).format.ps1xml" DestinationFolder="$(PowerShellModuleArtifactsPath)" />

0 commit comments

Comments
 (0)