I am currently tasked with downsizing the published code of a VB.NET WinForms application in Visual Studio 2022. I would like to explore various options for achieving this goal effectively.
The first approach that comes to mind is to identify and remove any unused forms, files, icons, images, and DLLs. However, I want to ensure that this process is carried out safely. Are there any recommended tools or techniques that can help me identify and remove unused components or references without causing any negative impact on the application?
I understand that removing components can be risky due to potential dependencies that may not be immediately apparent. Therefore, it’s crucial to be certain about the usage of any reference, DLL, or image before proceeding with its removal.
I would appreciate any insights, best practices, or tools that you have found helpful in similar situations. Thank you in advance for your assistance!
1