Resolved After adding images to a resource file DLL is not generated

alikim

Member
Joined
Oct 30, 2023
Messages
15
Programming Experience
Beginner
I have a winForms project where I want to use a dozen different images for backgrounds (JPEGs and PNGs with and w/o transparency), average size a few hundred Kb.
The project always builds successfully, no errors, but sometimes the DLL file is not generated.
I tried to set output to "Detailed" and "Debug" but I couldn't see errors or warnings.
Certain combinations of images put into .resx file work, certain don't, I can't see any pattern to it.

How can I investigate this issue?
 
Solution
but sometimes the DLL file is not generated.

Is the DLL currently in use or locked?

Is your anti-virus automatically quarantining/deleting the DLL?

In general, MSBuild.exe and Visual Studio are very good about giving errors when file generation works?
but sometimes the DLL file is not generated.

Is the DLL currently in use or locked?

Is your anti-virus automatically quarantining/deleting the DLL?

In general, MSBuild.exe and Visual Studio are very good about giving errors when file generation works?
 
Solution
You're right, I found a lot of DLLs in Anti-virus quarantine, thank you!
Do you know why this is happening?
 
Your AV found a pattern of bits in your DLL that matches a pattern of bits found in known malware. Those bits in a .JPEG or .PNG file is likely harmless, but the same pattern of bits in a DLL is potential malware.
 

Latest posts

Back
Top Bottom