Problem with imageStream in resx.

K

kromek

Hello,
my problem is that after I wrote application uses ImageList with
enabled .manifest file I cannot run the application on windows 2000.
When i removed *.manifest file from the VS directory and rebuild
solution i got following error :

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

When i trying to convert this file by regenresx I got following:

"Invalid ResX input. ---> System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.InvalidOperationException: Failed to load ImageList..."

Do You know any tool or solution which can convert ImageStream to the
old format (working without .manifest file)?

Thanks in advance
kromek
 
K

kromek

I resolved it by myself.
Create 2 projects : first (compiled with devenv.exe.manifest file)
which reads resx and write all images from imagelists to folders and
second (compiled without devenv.exe.manifest) which write imagelists
builds from images to resx file.

This solution is'not perfect but save a lot of my time.
 
K

kromek

2. kromek 19 Paz. 13:59 pokaz opcje

Grupa dyskusyjna: microsoft.public.dotnet.languages.csharp
Od: "kromek" <[email protected]> - Znajdz wiadomosci tego autora
Data: 19 Oct 2005 04:59:09 -0700
Lokalna: Sr. 19 Paz. 2005 13:59
Temat: Re: Problem with imageStream in resx.
Odpowiedz | Odpowiedz autorowi | Przekieruj | Drukuj | Wiadomosc
prywatna | Pokaz oryginalna wiadomosc | Usun | Zglos naruszenie
prawa lub regulaminu

I resolved it by myself.
Create 2 projects : first (compiled with devenv.exe.manifest file)
which reads resx and write all images from imagelists to folders and
second (compiled without devenv.exe.manifest) which write imagelists
builds from images to resx file.


This solution is not perfect but saved a lot of my time.
 
K

kromek

I resolved it by myself.
Create 2 projects : first (compiled with devenv.exe.manifest file)
which reads resx and write all images from imagelists to folders and
second (compiled without devenv.exe.manifest) which write imagelists
builds from images to resx file.


This solution is not perfect but saved a lot of my time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top