Closed playduin closed 1 year ago
The error stands for The located assembly's manifest definition does not match the assembly reference
. This can be because of incorrect COM object registration or missing strong name signing. Did you build sources or used compiled binaries from release section?
Compiled binaries from release section works fine, but I want to create custom Policy Module.
Then you need to use strong name signing and update COM registration to match your assembly.
What is COM registration?
I use PowerShell script from compiled binaries from release, auto-generated strong name signing and my certificate signing.
AD CS and its components is a COM server. Policy Module is a COM object that runs on a server and implements ICertPolicy COM interface. You have to register COM object to make it visible to other applications (in given case, visible to AD CS). Supplied installation script registers COM objects I'm releasing in this repo. If you change sources and compile your own binaries, then you need to update installation script to match your assembly and managed ICertPolicy
and ICertManageModule
interfaces implementations:
mscoree.dll
)After renaming all filenames and fields in the project and installation script, I see same error.
Closing because of inactivity.
Error 0x80131040 in custom build. Please explain the reason.