I have created a dll and accessing on an application. When I debug the application can go into the dll code and read the code. I want to prevent this debugging of dll functions for the security purpose. How can it be done? I would also like to prevent people from viewing the code altogether.
Share
To prevent debugging, open your DLL project properties, under Advanced Compile Options, “Generate Debug Info” must be set to ‘None’. And that’s it.
Steps:
Right click on project -> Properties -> ‘Build’ tab -> ‘Advanced’ button -> Debug Info dropdown value set to ‘None’.