ImageList causing compile errors on one machine but not on others

  • Thread starter Thread starter Tim Wilson
  • Start date Start date
T

Tim Wilson

I have heard of an issue similar to this being caused by a
"devenv.exe.manifest" file existing for "devenv.exe". I assume that if the
manifest is causing problems that this would be located in the same
directory as "devenv.exe". If this manifest file is there try delete it or
renaming it. Another thing to try is to close the open form files in VS.Net
and then delete the resx file from solution explorer then reopen the form. I
know that we had similar problems with resx files with Compact Framework
projects, but I haven't run into this issue with Desktop Framework projects.
But I'm just throwing out things to try right now.
 
* "Neal Andrews said:
I have a form which contains an ImageList with about 40 images. Now I have
just got a new laptop and have intstalled a new copy of VS2003 and all my
projects accross. However when I try and compile any project that contains
an ImageList I get the following error when I try and compile the project.

"Resource transformation for file 'Form1.resx' failed. Exception has been
thrown by the target of an invocation."

I have checked the projects on each machine including the resx files and
they are exactly the same, down to the last byte.

Both machines have the same Framework installed version 1.1.4322 and all the
version numbers for all the references are the same. Both machines are using
VS2003.
Both machines are running WindowsXP SP1 with the same patches installed.

Do you use a manifest file for "devenv.exe"?

INFO:

Giving VS.NET That XP Look
http://www.sellsbrothers.com/tools/default.aspx
 
Thanks, Tim & Herfried,

There was a manifest file in the original machine, that was not present in
the new machine. Once I added the manifest to the new machine it all worked
fine. Unfortunate I can not do it the other way around and remove the
manifest file altogether because of some bugs with the ImageList control
that concern images that contain true alpha channel information. (They loose
there alpha channel information when I go back and add more images)

Again, thanks allot.
Regards
Neal
 
Hi All,

I have a form which contains an ImageList with about 40 images. Now I have
just got a new laptop and have intstalled a new copy of VS2003 and all my
projects accross. However when I try and compile any project that contains
an ImageList I get the following error when I try and compile the project.

"Resource transformation for file 'Form1.resx' failed. Exception has been
thrown by the target of an invocation."

I have checked the projects on each machine including the resx files and
they are exactly the same, down to the last byte.

Both machines have the same Framework installed version 1.1.4322 and all the
version numbers for all the references are the same. Both machines are using
VS2003.
Both machines are running WindowsXP SP1 with the same patches installed.

Does anyone have a clue how I can get my projects to compile.

Thanks
Neal
 
Back
Top