The code is written in the visual studio 2012 and I am assigned with a task to change platform toolset to 2019. So, I was building it in visual studio 2019 but I am getting registry error.
error MSB3075: The command "regsvr32 /s /c "D:\Nomnia\Omnia\source\cpp\DependentFiles\TaxingEngine.dll" error MSB3075: echo regsvr32 exec. time > "..\..\..\DependentFiles\regsvr32.trg" error MSB3075: :VCEnd" exited with code 5. Please verify that you have sufficient rights to run this command.
I did some research and found that this issue could be due to missing dependencies. After checking with Dependency Walker, I verified that all dependent projects are present in the correct path.
I also reviewed the changes in the project and confirmed that there are no unintended modifications after changing the Platform Toolset. Additionally, I have provided full control permissions to the DLL.
Despite these efforts, when I try to register the DLL manually, I get the following error:
"The DLL is loaded, but registration failed with exit code 0x80029C4A."
I also did the registry of the dependent dlls and Type library files. registry of dependent tlb
I would appreciate any insights or suggestions on how to resolve this issue
dependency Walker