Vista 256x256 Icon Problem

ADO DOT NET

Centurion
Joined
Dec 20, 2006
Messages
160
Hi,
Everyone here ever tried to assign an icon with all 256x256 , 48x48 , 32x32 , 24x24 , 16x16 sizes inside to project properties > Application > Icon ?!
Visual Studio won't accept it and will return this error (Project won't be compiled):
---
Error 1 Unable to write to output file 'C:\Documents and Settings\user123\Local Settings\Application Data\Temporary Projects\WindowsApplication1\obj\Debug\WindowsApplication1.exe': The specified image file did not contain a resource section.
---
If I remove the 256x256 icon size from inside my icons the problem will be solved!
256x256 is recommended for Vista and I want to include this size also!
As you know, an icon file can contain all possible sizes.

IF ANYONE has this problem also or know a solution for it please help me?
 
You will have to install VS under Vista and compile your project to bypass this problem. You cannot compile projects containing 256*256 pixels icons under XP.
 
Back
Top