How can I hide Interop.xxx.dll reference files that I need to copy to the location of my exe to run my app without actually installing the application
I created a tool that has references to two interop files but it gives me message "Cannot load file or assembly..." unles I copy the interop files to the same location that I am running the exe from.
If I copy these file to the same location in clear view then users could possibly figure out what the tool is doing behind the scenes. This could pose as a policy violation at the organization that I am doing this for because this tool changes settings and creates files as per our policy. I can do this all manually but it we need to be able to send this exe to mobile staff to comply with our policies just by running this tool.
Now I need a way to hide these reference files regardless where I copy them to and yet but able to use them.
Maybe there is a better way to this...
Thanks
.NET ProgrammingVisual Basic.NETOperating Systems
Last Comment
camoh
8/22/2022 - Mon
GMGenius
Does it work if you copy the dll's to the system32 folder?
Zhaolai
Yes, you can, but code changes are needed. Take a look at the solution in the following link: