We help IT Professionals succeed at work.

Visual Studio 2005 maximum number of image files in resource.resx?

Don VonderBurg
Don VonderBurg asked
on
We have an interesting situation. We have a desktop application that has 251 image files in the resource.resx. When we added more increasing the number of image files to be greater than 251 and create a MSI and attempt to upload the MSI file to our FTP server host we get the message:

Response:      550 Virus Detected and Removed: Heuristics.Broken.Executable

We have done checks of our system and we are clean. But if we remove images to stay below 252 count we can upload the MSI. Our host comany is checking into the issue to see if the AV has an issue. But I was just interested if anyone in EE has experienced a similar issue? And if so what was the solve. I find it difficult to believe that there is a limit to the number of image files a .resx can handle. Or that it would trigger a response to an AV.

BTW we have run AV checks and MalWareBytes checks on the MSI file directly as well as all 251 image files.
Comment
Watch Question

some strange dot net bug.

 please try to install the latest vs service pack and update the windows regularly.



 one simple solution to add multiple resource file of 100 images each, else if u have enough time you can continue hit and trial on this situation.

  as after vs 2010 microsoft may  be very little concerned about the vs 2005
Don VonderBurgPresident/CEO

Author

Commented:
Thank you for the quick response.

I was not aware you can have more than one resources.resx file. I have been looking at a way to add another resources file. can you give me a clue?
Don VonderBurgPresident/CEO

Author

Commented:
PlatoConsultant - I figured out how to add another resources.resx file (Doh!).

I moved some of my images over to the new resources file and compiled and created a new MSI. Apparently the ClamAV that my host is using still issues the message:

Response:      550 Virus Detected and Removed: Heuristics.Broken.Executable

Apparently it does not matter whether the files are in separate resources files. The EXE has a count greater than 251 and the ClamAV thinks it is a broken EXE. very weird.

Commented:
it could be out of the topic, but you may try to put your files on an archive format like .zip, .rar, .7z, etc; and password-protected it. this would gives you an AV scan bypass as it couldn't scan inside. just remember to inform the password to the other parties.
Don VonderBurgPresident/CEO

Author

Commented:
imut_s - Good idea and I tried that. Still the AV at my host will refuse the file.

PlatoConsultant - I moved 78 image files to another resources file and still the host refuses.

I did find out from the host that they are using ClamAV. I went to their web site and posted our MSI to them for analysis becuase it erports a false positive.

I will keep all informed of the resolve once we figure it out.
Commented:
you could also use the "encrypt file names" option in addition to the regular password protection. if this doesn't work too, then probably it is true that we will need to wait for the ClamAV team response.
Don VonderBurgPresident/CEO

Author

Commented:
ClamAV did respond and apparently fixed the issue. We are now able to upload our MSI. So technically imut_s is the most correct answer.