> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Mateusz Loskot > Sent: dinsdag 7 december 2004 3:44 > To: [EMAIL PROTECTED] > Subject: Re: [Nant-users] WinForms, Images, Resources > > User Gert Driesen wrote:: > > If you want to have manifest resource names that match > those generated by > > VS.NET, you should avoid usign <resgen>. > > > > Instead, you should use the <resources> element of the > individual compiler > > tasks and have the compiler task do the resource > compilation (and generation > > of the manifest resource names) for you. > > [...] > > Thank you very much for your help. > Your advice solves my problem. > > The problem was I had no idea I can use basedir attribute > in the resources element and I include directory/path a value > of the name attribute of the include element > > <resources prefix="" dynamicprefix="true"> > <include name="images/*.bmp" /> > </resources> > > Then, in the manifest, I got all images (bmp files) ID/names prefixed > with IMAGES_PATH like this: > > images.myBitmap.bmp > > But, my application does not expect such names and it could not find > them. I think there is a little lack of explanations in the NAnt docs > about that.
You're right about this, and I'll try to do something about this asap. Gert ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users