I am still new to the C# dll world, I been creating my class library for couple of days by now, it's humble nothing sophisticated, yet, after building the solution and getting the output dll file and trying to register it to a printer plugin program it shows an error message of
"Error file was not found or the file contains no TYPELIB section"
I searched about the error "TYPELIB section in dll files" some of the results suggested using the csc.exe or Developer Command Prompt for VS2012, I tried compiling it from there but it gave me errors of missing namespaces that have been used within the dll file, the output dll file uses another dll files, it's impossible to remove the other namespaces.
So what am I missing? How do I define the dll file as TYPELIB?
EDIT
the registry tool that i m using takes the dll/exe file that contains the functions and embed it to the printer software, the printer has two USB Ports, one for the printer and printing jobs and the other one is for the Mifare/SmartCard that will write the info on the card.