I have created .NET 4.7.2 project and now refactoring and removing unused libraries.
By exe I mean successfully compiled exe file.
CodePudding user response:
Try To Delete Bin Folder From your Project Path
CodePudding user response:
There is a couple possibilities:
First: Compiled Exe didn't use the .dll at all as you said, so no piece of code will produce an exception because there's no call to that library inside it.
Second: Actually, the dll is somewhere in your computer registered and the exe is accessing it witouth any problem
I would bet on first possibility
