MichaelGrafnetter / DSInternals

Directory Services Internals (DSInternals) PowerShell Module and Framework
https://www.dsinternals.com
MIT License
1.62k stars 250 forks source link

DSInternals.Replication.Interop.dll - File not found Exception on .NET 7/Core #157

Closed umar-ulabs closed 1 year ago

umar-ulabs commented 1 year ago

I installed the packages DSInternals.Replication. Created instance of DirectoryReplicationClient and right there it throws. I tried it on some machines. In one Windows server 2016(.NET core 7 app) it doesn't throw, don't know why. Yours insights much appreciated. Is there something obvious I am missing ? image

MichaelGrafnetter commented 1 year ago

Hi @umar-ulabs , DSInternals is currently only compiled for .NET Framework, not .NET (Core) 7. Additionally, the replication stuff is the NuGet package is 64-bit only, so the assembly must be compiled with 64-bit preference over 32-bit. I would like to add support for additional platforms soon.