Skip to content

Commit

Permalink
PowerShell module for .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
LTRData committed Aug 8, 2024
1 parent d2dfc1b commit 463244a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/DiscUtils.PowerShell/DiscUtils.PowerShell.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net46;net48</TargetFrameworks>
<TargetFrameworks>net46;net48;net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework.CompareTo(`net5`))' &gt;= 0">
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.*" />
Expand Down
4 changes: 4 additions & 0 deletions Utilities/DiscUtils.PowerShell/SnapIn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
// DEALINGS IN THE SOFTWARE.
//

#if NETFRAMEWORK

using System.ComponentModel;
using System.Management.Automation;

Expand All @@ -34,3 +36,5 @@ public class SnapIn : PSSnapIn

public override string Vendor => "Kenneth Bell";
}

#endif

0 comments on commit 463244a

Please sign in to comment.