Skip to content

Commit ef36cd5

Browse files
Fixed missing .NET IJW host
1 parent f1b2d16 commit ef36cd5

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

Documentation/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55

66
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77

8+
## [6.0.1] - 2025-08-14
9+
10+
### Fixed
11+
12+
- Resolved a bug with misplaced .NET IJW host files (Ijwhost.dll) in the PowerShell module directory structure.
13+
814
## [6.0] - 2025-08-14
915

1016
### Added
@@ -629,7 +635,8 @@ This is a [Chocolatey](https://chocolatey.org/packages/dsinternals-psmodule)-onl
629635
## 1.0 - 2015-01-20
630636
Initial release!
631637

632-
[Unreleased]: https://github.com/MichaelGrafnetter/DSInternals/compare/v6.0...HEAD
638+
[Unreleased]: https://github.com/MichaelGrafnetter/DSInternals/compare/v6.0.1...HEAD
639+
[6.0.1]: https://github.com/MichaelGrafnetter/DSInternals/compare/v6.0...v6.0.1
633640
[6.0]: https://github.com/MichaelGrafnetter/DSInternals/compare/v5.4.1...v6.0
634641
[5.4.1]: https://github.com/MichaelGrafnetter/DSInternals/compare/v5.3...v5.4.1
635642
[5.3]: https://github.com/MichaelGrafnetter/DSInternals/compare/v5.2...v5.3

Src/DSInternals.PowerShell/DSInternals.PowerShell.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,11 @@
6161
<!-- System.Memory, System.Numerics.Vectors, System.Buffers, System.Runtime.CompilerServices.Unsafe -->
6262
</ItemGroup>
6363
<Target Name="RemoveRootInteropDll" AfterTargets="Build">
64-
<!-- TODO: Find a more elegant way of not including these 2 files. -->
64+
<!-- TODO: Find a more elegant way of not including these 3 files. -->
6565
<!-- Remove DSInternals.Replication.Interop DLL and PDB from module root. Only keep it in the architecture-specific subdirectory. -->
6666
<Delete Files="$(OutDir)DSInternals.Replication.Interop.dll" />
6767
<Delete Files="$(OutDir)DSInternals.Replication.Interop.pdb" />
68-
<!-- TODO: Is the Ijwhost.dll file needed? -->
68+
<!-- Remove the .NET IJW host from module root. Only keep it in the architecture-specific subdirectory. -->
69+
<Delete Files="$(OutDir)Ijwhost.dll" />
6970
</Target>
7071
</Project>

Src/DSInternals.PowerShell/DSInternals.psd1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
RootModule = 'DSInternals.Bootstrap.psm1'
99

1010
# Version number of this module.
11-
ModuleVersion = '6.0'
11+
ModuleVersion = '6.0.1'
1212

1313
# Supported PSEditions
1414
CompatiblePSEditions = @('Desktop', 'Core')
@@ -233,6 +233,7 @@ PrivateData = @{
233233
- Added the Get-ADReplKdsRootKey cmdlet to enable reading specific KDS Root Keys over the MS-DRSR protocol.
234234
- Implemented full support for ntds.dit files originating from RODCs.
235235
- Improved the performance of schema loading and account retrieval from ntds.dit files.
236+
- Version 6.0.1 fixes a bug with misplaced .NET IJW host files in the PowerShell module directory structure.
236237
"@
237238
} # End of PSData hashtable
238239

Src/DSInternals.Replication.Interop/Directory.Build.Targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
</ItemGroup>
2121
<!-- Copy the C++ runtime files to the PowerShell module. -->
2222
<Copy SourceFiles="@(CppRuntimeBinaries)" DestinationFolder="$(PowerShellModulePath)" />
23+
<!-- Copy the .NET IJW host to the PowerShell module. -->
24+
<Copy SourceFiles="$(OutDir)Ijwhost.dll" DestinationFolder="$(PowerShellModulePath)" Condition="'$(CLRSupport)' == 'NetCore'" />
2325
<!-- Copy the compiled DLLs to the PowerShell module. -->
2426
<Copy SourceFiles="$(OutDir)$(TargetFileName)" DestinationFolder="$(PowerShellModulePath)" />
2527
<!-- Include the debug symbols -->

Src/DSInternals.Replication/DSInternals.Replication.csproj

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
<!-- NuGet package metadata -->
33
<PropertyGroup>
44
<IsPackable>true</IsPackable>
5-
<Version>6.0</Version>
5+
<Version>6.0.1</Version>
6+
<AssemblyVersion>6.0</AssemblyVersion>
7+
<FileVersion>6.0</FileVersion>
68
<AssemblyTitle>DSInternals Replication Library</AssemblyTitle>
79
<Title>$(AssemblyTitle)</Title>
810
<Description>DSInternals Replication implements a client for the Active Directory Replication Service Remote Protocol (DRS-R). It can be used to remotely extract password hashes from domain controllers.</Description>
9-
<PackageReleaseNotes>- Migrated to .NET SDK.
10-
- Added support for retrieving KDS Root Keys.</PackageReleaseNotes>
11+
<PackageReleaseNotes>- The .NET IJW host is now included.</PackageReleaseNotes>
1112
<PackageTags>ActiveDirectory Security Replication RPC DRSR DCSync</PackageTags>
1213
<TargetFrameworks>net48;net8.0-windows</TargetFrameworks>
1314
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyPrivateProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
@@ -36,7 +37,10 @@
3637
<!-- Include the files in the NuGet package directly -->
3738
<Target DependsOnTargets="BuildOnlySettings;ResolveReferences" Name="CopyPrivateProjectReferencesToPackage">
3839
<ItemGroup>
40+
<!-- DSInternals.Replication.Interop and DSInternals.Replication.Model dll+xml+pdb -->
3941
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths-&gt;WithMetadataValue('PrivateAssets', 'all'))" />
42+
<!-- .NET IJW host -->
43+
<BuildOutputInPackage Include="$(OutputPath)Ijwhost.dll" Condition="'$(TargetFramework)' == 'net8.0-windows'" />
4044
</ItemGroup>
4145
</Target>
4246
</Project>

0 commit comments

Comments
 (0)